aboutsummaryrefslogtreecommitdiff
path: root/systemd/agenda-render-cache.timer
blob: 71a6d66220abf6d3fc9c2088320f61330d354720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Refresh the agenda render cache every 5 minutes

[Timer]
# OnCalendar rather than OnUnitActiveSec, because Persistent= only has an
# effect on calendar timers (systemd.timer(5)). A monotonic schedule silently
# ignores it, so a machine that slept through several intervals would come back
# to a stale file with nothing to trigger a catch-up -- and the surface reading
# it cannot tell stale from correct.
OnCalendar=*:0/5
Persistent=true
# A cold boot should not wait for the next wall-clock slot.
OnBootSec=1min
AccuracySec=30s

[Install]
WantedBy=timers.target