Read the statement by Michael Teeuw here.
Module Update Interval question
-
I have MMM-eswordoftheday installed but have a problem in that it doesn’t automatically update.
It updates if I restart the MM but not automatically once a day or more frequently.
What drives the automated updates?
The pertinent part of config.js is:
{ module: 'MMM-eswordoftheday', position: 'top_left', header: '', config: { updateInterval: 21600000 }I have reduced the update frequency down from 86400000 to 21600000 (what I think is 6 hours) in an effort to sort this, but to no avail!
Any tips to debug this would be very welcome.
Thanks.
Richard
-
@rgn01 it only updates once after startup… then never again
edit the .js file and change line 17 from
setTimeout(function() {to
setInterval(function() {for grins, and easy testing,
change updateInterval to 60000 (60 seconds) -
Thanks @sdetweil - I missed your reply until this morning so apologies for not reporting back earlier.
I have now made the change, to 3 hours, and will watch it. As the source only changes once a day that felt like a sensible compromise to ensure it updates but not too often!
I’ll confirm in the next few days whether this has worked!
Thanks again!
-
I can confirm that this is now solved. Thank you, @sdetweil !
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login