2003-03-05 05:40 UTC → 2003-03-05 05:40:00 UTC
daily UTC → *-*-* 00:00:00 UTC
weekly Pacific/Auckland → Mon *-*-* 00:00:00 Pacific/Auckland
在之前的手册页中,指定时区可以是:
... given as the literal string "UTC" (for the UTC timezone), or is specified to
be the locally configured timezone, or the timezone name in the IANA timezone database
format. The complete list of timezones supported on your system can be obtained using the
"timedatectl list-timezones" (see timedatectl(1)). Using IANA format is recommended over
local timezone names, as less prone to errors (eg: with local timezone it's possible to
specify daylight saving time in winter, while it's incorrect).
改用 systemd 计时器!从可管理性角度来看,它们比 cronjobs 好得多,并且它们确实支持每个计时器的时区。在记录
man 7 systemd.time
systemd 计时器和其他文件中使用的时间格式的文件中,示例列表包括以下内容:在之前的手册页中,指定时区可以是: