ioBroker.smartcontrol icon indicating copy to clipboard operation
ioBroker.smartcontrol copied to clipboard

Time schedule triggers not at midnight

Open daniel-2k opened this issue 3 years ago • 0 comments

If you use a time schedule trigger to enable or disable zones it will not fire.

Steps to reproduce the behavior:

  1. Create a schedule trigger 0 0 * * 1-5
  2. Use it to enable/disable a zone without any other conditions
  3. You will see no action in the log.

I assume it has something to do with the midnight event "Re-scheduling time triggers for updating astro times and updating 'info.astroTimes.' states."

Expected behavior
Zone should be enabled/disabled at 00:00

Versions:

  • Adapter version: 1.2.1
  • JS-Controller version: 3.2.16
  • Node version: 12.18.0
  • Operating system: Windows Server 2016

Additional context
If I set the time schedule trigger 1 minute later (1 0 * * 1-5) it works (my current workaround)

daniel-2k avatar Jul 19 '21 19:07 daniel-2k