feat: add systemd timer for daily scheduled backup recap at 07:00
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user