Reboot puzzle related to daylight savings time end
Posted: Mon Nov 02, 2020 8:39 pm
For about 5 months I have been running Pi-Star 4.1.2 with System Cron:
30 2 * * 0 root /sbin/shutdown -r now #Reboot Sunday at 02:30 AM
As a result it has successfully rebooted every Sunday morning at 02:30 AM, except this past Sunday, when daylight savings time ended at 2 AM for the season. What appears to have happened was it shutdown, but did not restart. I had to manually power cycle it, which is inconvenient due to our restricted access to the commercial location where we are a guest.
I don't know cron well enough to know if this could be related to daylight savings time fall back or just an amazing coincidence.
I have changed the command to:
30 1 * * 0 root /sbin/shutdown -r now #Reboot Sunday at 01:30 AM
As such the reboot will run 30 minutes before the time change, in March and November. It might make a difference.
30 2 * * 0 root /sbin/shutdown -r now #Reboot Sunday at 02:30 AM
As a result it has successfully rebooted every Sunday morning at 02:30 AM, except this past Sunday, when daylight savings time ended at 2 AM for the season. What appears to have happened was it shutdown, but did not restart. I had to manually power cycle it, which is inconvenient due to our restricted access to the commercial location where we are a guest.
I don't know cron well enough to know if this could be related to daylight savings time fall back or just an amazing coincidence.
I have changed the command to:
30 1 * * 0 root /sbin/shutdown -r now #Reboot Sunday at 01:30 AM
As such the reboot will run 30 minutes before the time change, in March and November. It might make a difference.