Files
ns8-backup-monitor/deploy/ns8-backup-monitor-check.timer
T

27 lines
904 B
SYSTEMD
Raw Normal View History

# 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