DocScoDoc/tools/etc/scodoc-updater.timer
2021-12-04 21:18:00 +01:00

19 lines
378 B
SYSTEMD

#
# Systemd service to upgrade ScoDoc
#
# Put this file in /etc/systemd/system, along with scodoc-updater.service
#
# E. Viennet jun 2019
#
[Unit]
Description=Upgrade ScoDoc and Linux each night (2:30 am + random delay)
[Timer]
OnCalendar=*-*-* 02:30:00
# Add random delay, to avoid overloading ScoDoc upgrade server
RandomizedDelaySec=40min
[Install]
WantedBy=timers.target