Read the statement by Michael Teeuw here.
MMM-ModuleScheduler scheduling issue
-
Hi!
First post, first mirror with a lots of things working thanks to all the valuable reading here!
I do have an issue I can’t seem to resolve.Using MMM-ModuleScheduler I have a module scheduled as:
module_schedule: {from: '50 10 * * *', to: '0 11 * * *' },
It is now 10:45am on Saturday. Yet the module will not show at 10:50am and the logs shows this:
MMM-ModuleScheduler is scheduling MMM-MyWastePickup using "50 10 * * *" and "0 11 * * *" with dim level undefined MMM-ModuleScheduler is hiding MMM-MyWastePickup MMM-ModuleScheduler has scheduled MMM-MyWastePickup MMM-ModuleScheduler will next show MMM-MyWastePickup at Fri Aug 31 2018 10:50:00 GMT-0700 (PDT) MMM-ModuleScheduler will next hide MMM-MyWastePickup at Fri Aug 31 2018 11:00:00 GMT-0700 (PDT)
No matter what I put in the cron expression, it always starts hidden and doesn’t get scheduled until next Friday. I installed it yesterday and it was working but I suspect it’s because yesterday was, you guessed it, FRIDAY.
If I set up a schedule for:
module_schedule: {from: '0 8 * * SAT', to: '0 11 * * MON' },
Then it will be scheduled for next Saturday but not today:
MMM-ModuleScheduler will next show MMM-MyWastePickup at Sat Sep 01 2018 08:00:00 GMT-0700 (PDT) MMM-ModuleScheduler will next hide MMM-MyWastePickup at Mon Sep 03 2018 11:00:00 GMT-0700 (PDT)
If I schedule to for Monday, then it will be scheduled for the following Monday:
MMM-ModuleScheduler is scheduling MMM-MyWastePickup using "0 8 * * MON" and "0 11 * * MON" with dim level undefined MMM-ModuleScheduler is hiding MMM-MyWastePickup MMM-ModuleScheduler has scheduled MMM-MyWastePickup MMM-ModuleScheduler will next show MMM-MyWastePickup at Mon Sep 03 2018 08:00:00 GMT-0700 (PDT) MMM-ModuleScheduler will next hide MMM-MyWastePickup at Mon Sep 03 2018 11:00:00 GMT-0700 (PDT)
Any idea what to look for ? The time is correct on my system.
Thanks!!