Files
cachy-auto-update/res/systemd/cachy-auto-update.timer
T

20 lines
545 B
SYSTEMD

[Unit]
Description=CachyOS unattended update check
Documentation=man:cachy-auto-update(1)
[Timer]
# The tick is hourly, but an actual update only happens once per
# UpdateInterval (default: daily). That combination is what makes a postponed
# run (low battery, a game running, somebody else using pacman) retry by
# itself an hour later without any backoff bookkeeping.
OnBootSec=15min
OnCalendar=hourly
RandomizedDelaySec=20min
AccuracySec=5min
# Catch up after the machine was switched off.
Persistent=true
[Install]
WantedBy=timers.target