3
I'm on Ubuntu 16.04. When I try to use the time syntax show here (Mon..Fri
) I get an error. It seems I have to use 'Mon-Fri'.
$ sudo systemctl status mytouch.timer
● mytouch.timer - Runs mytouch every hour
Loaded: error (Reason: Invalid argument)
Active: inactive (dead) since Thu 2018-12-13 16:16:35 UTC; 1h 11min ago
Dec 13 17:15:20 ip-10-0-0-123 systemd[1]: [/etc/systemd/system/mytouch.timer:5] Failed to parse calendar specification, ignoring: Mon..Fri 22:30
Dec 13 17:15:20 ip-10-0-0-123 systemd[1]: mytouch.timer: Timer unit lacks value setting. Refusing.
Also, I had problems putting the time zone after the date, such as: 2003-03-05 05:40:00 UTC
.
Finally, I have seen the suggestion to use systemd-analyze calendar
but that produces this error:
$ systemd-analyze calendar Mon,Wed,Fri,Sat\ \*-\*-\*\ 11:00:00
Unknown operation 'calendar'.
Where do I find documentation for the version of systemd I'm running.