feat: add catch-up systemd timer and runner script for main.py

Co-authored-by: aider (openai/gpt-5) <aider@aider.chat>
This commit is contained in:
Mark Eaton
2025-11-16 01:14:02 -05:00
co-authored by aider
parent fc655e2dd9
commit 51eeff37fb
3 changed files with 43 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# User-level systemd timer that "catches up" missed runs if the machine was off.
[Unit]
Description=Schedule main.py with catch-up if missed
[Timer]
# Change this to your desired schedule; examples:
# OnCalendar=daily
# OnCalendar=Mon..Fri 09:00
# See man systemd.time for syntax.
OnCalendar=hourly
Persistent=true
AccuracySec=1m
RandomizedDelaySec=5m
Unit=libguides-notifier.service
[Install]
WantedBy=timers.target