pkgwatch/systemd/pkgwatch.timer
Austin Schaefer 071cf27f72 Run a check shortly after login, not just on the hourly tick
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 09:48:28 +02:00

15 lines
450 B
SYSTEMD

# Periodic, not persistent (see docs/SPEC.md > Vision): no catch-up burst
# for missed ticks. The laptop is only on while logged in, so the user
# manager starting (= login) is what matters: OnStartupSec runs a check
# shortly after login instead of waiting up to an hour for the next tick.
[Unit]
Description=Run pkgwatch hourly
[Timer]
OnStartupSec=2min
OnCalendar=hourly
RandomizedDelaySec=5min
Persistent=false
[Install]
WantedBy=timers.target