tim-hellhake/cron-adapter

Jobs are one hour off

Closed this issue · 3 comments

My cron jobs are running one hour too early. Presently we're in daylight savings, which could be the cause.

My sanity checks:

  • Time zone is correct in the cron addon
  • Time zone is correct on the computer (macOS)

image

EDIT:
It looks like it's caused by this. 😞 node-cron/tz-offset#11

EDIT2:
I no longer know what's happening. My job for 0 */3 * * * ran at 1.

First of all, thanks for the report @stutrek.
It looks like node-cron is dead.
The fix will probably not be merged.
I replaced it with cron, which seems to use a proper timezone library (moment timezone).

As soon as the PR is merged you can test it :)

Thank you! My gateway pulled the update and my plants are getting watered at the right time now.