Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Astro: Schedule Jobs 30sec after midnight to ensure to be on the next… #4131
The problem is that our scheduler calculates the milliseconds until the next execution and in the cases of the bug that I am fixing the scheduler and the system time are a few (milli)seconds off and thus the expression scheduled to be executed at 0h 0m 0s is executed before midnight which is the day before. And in case of the Astro binding we are only interested in the day and not not the actual time of the cron execution.
Hm, it seems to me that the scheduler is then buggy and not the astro binding.
Changing the trigger cron expression will mask the error but not really solve the bug.