Just tried to check an OnCalendar snippet based on syntax mentioned on another website and it errored out

systemd-analyze calendar 'Mon..Fri *-*-* *:*/2:00 Australia/Sydney'
Failed to parse calendar specification 'Mon..Fri *-*-* *:*/2:00 Australia/Sydney': Invalid argument
This worked (notice the 0 instead of the *)
systemd-analyze calendar 'Mon..Fri *-*-* *:0/2:00 Australia/Sydney'
Dropping the date and just specify the time


0 Comments