[systemd-devel] Scheduling 3 periodic jobs using systemd

Lennart Poettering lennart at poettering.net
Fri Jul 12 12:36:27 UTC 2024


On Fr, 12.07.24 09:12, t.schneider at disroot.org (t.schneider at disroot.org) wrote:

> Hello,
> I have a backup job (using rsnapshot) that must be executed daily, weekly
> and monthly.
> Therefore I created these systemd-timers:

Why three timers? Just use a single one and use OnCalendar= multiple
times to define multiple trigger calendar times.

(If you really want multiple separate timer units, you can make them
actviate the same service btw, via the Unit= setting)

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list