feat: Add scheduled runs and Kuma ping

Add systemd user units for daily execution and send an Uptime Kuma push on each run.
This commit is contained in:
Jeena 2026-03-12 15:34:00 +00:00
parent 4ab799c156
commit 413766ed2b
6 changed files with 67 additions and 0 deletions

View file

@ -134,3 +134,21 @@ Acceptance criteria:
- The script posts a message to a Matrix room when updates are detected or errors occur.
- Matrix credentials (homeserver, room id, access token) are read from `.env`.
- The message includes actionable service names and version details.
## US-15 - Systemd User Service
As a maintainer, I want a systemd user service and timer so the script runs daily without manual intervention.
Acceptance criteria:
- Provide a user-level systemd service file that runs the update checker.
- Provide a user-level timer that runs once per day.
- README documents how to install and enable the service and timer.
## US-16 - Uptime Kuma Push
As a maintainer, I want the script to call an Uptime Kuma push URL on each run so that failures are visible in the monitoring dashboard.
Acceptance criteria:
- The script sends a request to the push URL when it runs.
- The push URL is configured via `.env`.
- Failures to reach the push URL are logged without crashing the run.