action-scheduler icon indicating copy to clipboard operation
action-scheduler copied to clipboard

Cron doesn't start at the right time after daylight saving time change

Open skinnycat-software opened this issue 3 years ago • 1 comments
trafficstars

Existing jobs running at a set time daily using a cron schedule ( ie setup using as_schedule_cron_action ) do not run at the proper time after Daylight saving time change and keep being rescheduled daily at the wrong time.

All the jobs are running an hours early after 11/06/2022. When canceling the scheduled jobs, the new ones start at the correct time.

I would expect the daily rescheduling after a job run to take into account the daylight saving time change and schedule the next job accordingly.

skinnycat-software avatar Nov 09 '22 16:11 skinnycat-software

Hi @skinnycat-software,

Yes, this is a problem (cron scheduling is based on UTC, so there is an apparent shift of one hour as sites enter and leave DST) and essentially boils down to the same thing encapsulated in this issue (which also contains some user-suggested workarounds you could try in the meantime).

Resolving this is going to be hard and may present some backward-compatibility challenges, and unfortunately is not something we can prioritize at this time.

barryhughes avatar Dec 02 '22 16:12 barryhughes