MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-ModuleScheduler scheduling issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 707 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      frogywill Project Sponsor
      last edited by frogywill

      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!!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy