Sidebar

What adjustments need to be made to CRON when there is a time change?

0 votes
282 views
asked Nov 7, 2016 by marc-m-9513 (570 points)
I have a channel that pauses each night for system backup. It failed yesterday, and I am guessing it was related to the time change?

I don't see anything in the logs that it even attempted to pause.

1 Answer

0 votes
Computers will change their time at 2 a.m. local time. Consideration should be given to Scripts or CRON jobs that are scheduled to run during these early hours.

In the Spring the computer time will change from 2 a.m. to 3 a.m. Therefore any Scripts or CRON jobs that are scheduled to run between the hours of 2 to 3 a.m. will be skipped and should be temporarily changed to run at a different time (either before 2 or after 3) or manually run.

In the Fall the computer time will change from 2 a.m. back to 1 a.m. Therefore any Scripts or CRON jobs that are scheduled to run between the hours of 1 to 2 a.m. will run twice. If having the Script or CRON job run twice poses a problem then the scheduled time should be temporarily changed to run after 2 or before 1 or  turned off and manually run at a different time.
answered Nov 7, 2016 by gary-t-8719 (14,860 points)
...