When scheduling a cron interval, the first run is not the at the expected time #1248
-
|
Describe the bug I want WatchTower to update every Friday at 6AM and when starting it says To Reproduce Steps to reproduce the behavior:
Expected behavior It should start at next Friday at 6AM Environment
Logs from running watchtower with the
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
This comment has been hidden.
This comment has been hidden.
-
|
The schedule should be represented by 6 fields, not 5: This is due to the scheduler library being used. They changed to the 5-field version in later version, but it would be a breaking change to upgrade to it. |
Beta Was this translation helpful? Give feedback.
-
|
follow up question in that context @piksel : |
Beta Was this translation helpful? Give feedback.
The schedule should be represented by 6 fields, not 5:
https://containrrr.dev/watchtower/arguments/#scheduling
This is due to the scheduler library being used. They changed to the 5-field version in later version, but it would be a breaking change to upgrade to it.