[systemd-devel] On calendar timer

arnaud gaboury arnaud.gaboury at gmail.com
Wed Jan 6 08:17:20 PST 2016


I am not sure about how to express date/time in a timer unit.

I want the timer to be start every year(*), on month 1,3,5,7,9,11,
first day of month at 02:00:00 AM. Here is what I wrote:

[Timer]
OnCalendar=*-1,3,5,7,9,11-01 02:00:00

Is this correct ?

Now if I want instead not the first day of the cited months, but the
first Sunday:

OnCalendar=Sun, *-1,3,5,7,9,11-01 02:00:00

Or the above will only trigger the service IF first day of the cited
month is a Sunday?

Thank you for help

-- 

google.com/+arnaudgabourygabx


More information about the systemd-devel mailing list