[systemd-devel] OnCalendar weekday range syntax

Lennart Poettering lennart at poettering.net
Fri Feb 4 15:01:48 UTC 2022


On Fr, 04.02.22 06:23, Kenneth Porter (shiva at sewingwitch.com) wrote:

> <https://www.freedesktop.org/software/systemd/man/systemd.time.html>
>
> Shows a range of weekdays separated by two dots:
>
> Mon..Fri
>
> When I use this on CentOS 7.9.2009, systemd-219-78.el7_9.5.x86_64, I get
> this error from systemd-analyze verify:

Probably not a good idea to use the documentation of a current systemd
versions from 2022 with a systemd version from 2015. 7 (!) years
changes an awful lot.

".." is the official way to denote workday ranges, "-" is accpeted for
compat, but not documented.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list