What happens to at jobs across the DST switch?
Bo Berglund
bo.berglund at gmail.com
Fri Mar 26 21:12:04 UTC 2021
On Fri, 26 Mar 2021 17:57:04 +0000, Colin Watson <cjwatson at ubuntu.com> wrote:
>I'm not sure if I completely understand the problem, but perhaps you can
>simplify things by specifying all the job start times in UTC (which you
>can do by appending " UTC" to the timespec you give to at(1))? That way
>at least the job start times will be unambiguous even if I read the code
>wrongly when writing the paragraph above, though of course you'll have
>to work out how they correspond to the system's configured civil time.
I did not manage to get it to work and the man page is really no help either...
This is what I did:
echo "timeout --signal=2 66m getstreamyt testutc.mp4" | at 22:58 UTC
But it shows up in the list as:
2250 Fri Mar 26 22:58:00 2021 a bosse
Should have been (since I am in CET zone):
2250 Fri Mar 26 23:58:00 2021 a bosse
I.e. it is still set as CET even though I specified UTC in the at command.
It seems like I am alone wanting to do this because google does not show any hit
when I try to search for it.
So what is the correct syntax in order to use UTC in the time specifier for at?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list