Christian Asked: 2020-06-21 16:38:43 +0800 CST2020-06-21 16:38:43 +0800 CST 2020-06-21 16:38:43 +0800 CST How to set a systemd timer to run monthly but at a certain time 772 I have a couple of systemd timers which are run monthly: OnCalendar=monthly However, they will run at the exact same time of day. How can I set them to run monthly at, let's say, 2 am? services systemd 1 Answers Voted Best Answer ajgringo619 2020-06-22T07:03:05+08:002020-06-22T07:03:05+08:00 Since monthly is shorthand for *-*-01 00:00:00, you could do something like this: OnCalendar=*-*-01 02:00:00 This will run on the 1st of every month at 2AM. Check out man systemd.time for more examples.
Since monthly is shorthand for
*-*-01 00:00:00
, you could do something like this:This will run on the 1st of every month at 2AM. Check out man systemd.time for more examples.