What happens to at jobs across the DST switch?

Bo Berglund bo.berglund at gmail.com
Sat Mar 27 06:44:15 UTC 2021


On Sat, 27 Mar 2021 12:37:28 +1100, Karl Auer <kauer at biplane.com.au> wrote:

>BUT: I don't know whether at will properly calculate the time *for the
>hour of changeover". Something for you to test. If the clocks go
>forward at 2am where you are, set a task for 1:15 UTC on that day. It
>should show a local time of 3:15, because at 2:00 UTC the local time
>will have moved forward an hour, putting your two hours ahead in total.

I decided to instead modify the script for the day of the changeover such that
it starts a single recording at 23:59 the day before and runs this for 4 hours.
This will make it encompass the whole changeoved hour inside and it probably
just works then since the recording is set as a duration and not as a time to
stop.

Then tomorrow morning I have just to split the 4 hour recording into 1 hour
segments as a one-off operation.


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list