dotfiles/systemd/tarsnap.timer

18 lines
329 B
SYSTEMD
Raw Normal View History

2020-06-28 22:00:36 +00:00
# systemctl enable /path/to/this/unit-file
[Unit]
Description=Run tarsnap.service every six hours
Requires=tarsnap.service
[Timer]
Unit=tarsnap.service
OnCalendar=*-*-* 00:00:00
OnCalendar=*-*-* 06:00:00
OnCalendar=*-*-* 12:00:00
OnCalendar=*-*-* 18:00:00
RandomizedDelaySec=3m
AccuracySec=1s
[Install]
WantedBy=timers.target