Do you need to shift the reboot time differently between DST and standard time? Or can you just use to local TZ setting< so it looks the same to the system all year around?Hi, My problem is that I would like to boot and shut down the Raspberry Pi on a timer-controlled basis. This is the same most days, but there are also exceptions where it should not boot at all or should boot later. However, so far I have only found solutions where I have to set the time individually every day, or it is the same every day. The first is takes to long and the second one isn't optimal. Another problem is that there is a time change of 1 hour between summer and winter.
For doing cron things with a day-of-week dependency, here is a small example...
They are (in order) Monday through Friday, Saturday, Sunday, and specific dates (time, day, month)..
Code:
50 05 * * 1-5 /home/pi/bin/play /media/pi/MUSIC/best-joplin/track_10.wav00 06 * * 1-5 /home/pi/bin/runkdfc50 07 * * 6 /home/pi/bin/play /media/pi/MUSIC/vienna_1996/track_15.wav00 08 * * 6 /home/pi/bin/runkdfc45 07 * * 7 /home/pi/bin/play /media/pi/MUSIC/messiah/track_32.wav58 07 * * 7 /home/pi/bin/runkdfc15 06 3 4 * /home/pi/bin/play /media/pi/MUSIC/constellation/track_05.wav15 03 21 06 * /home/pi/bin/play /media/pi/MUSIC/constellation/*.wavStatistics: Posted by W. H. Heydt — Thu May 15, 2025 3:16 am