27 lines
904 B
SYSTEMD
27 lines
904 B
SYSTEMD
# ns8-backup-monitor-check.timer
|
|
#
|
|
# Fires ns8-backup-monitor-check.service once per day at 07:00 local time.
|
|
#
|
|
# Adjust OnCalendar to match your backup plan schedule — the timer should
|
|
# fire *after* the backup window has closed so that all module status keys
|
|
# are already written to Redis when the check runs.
|
|
#
|
|
# Examples:
|
|
# Daily at 07:00: OnCalendar=*-*-* 07:00:00
|
|
# Mon-Fri at 06:30: OnCalendar=Mon-Fri *-*-* 06:30:00
|
|
# Every 6 hours: OnCalendar=*-*-* 00/6:00:00
|
|
[Unit]
|
|
Description=ns8-backup-monitor daily backup recap timer
|
|
|
|
[Timer]
|
|
# Default: every day at 07:00 local time.
|
|
# Change this to fire ~30 minutes after your last scheduled backup ends.
|
|
OnCalendar=*-*-* 07:00:00
|
|
# If the system was off when the timer was supposed to fire, run it
|
|
# within 5 minutes of the next boot.
|
|
Persistent=true
|
|
Unit=ns8-backup-monitor-check.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|