[systemd-devel] OnCalendar weekday range syntax

Kenneth Porter shiva at sewingwitch.com
Fri Feb 4 14:23:30 UTC 2022


<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:

Failed to parse calendar specification, ignoring: Mon..Fri 17:11

I'm successfully able to use a dash to specify the range.

Is this a documentation error, did Red Hat change the syntax for their 
distro, or did the upstream range syntax change since the systemd version 
that RHEL 7 uses?



More information about the systemd-devel mailing list