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:
parent
4ab799c156
commit
413766ed2b
6 changed files with 67 additions and 0 deletions
7
systemd/check-for-updates.service
Normal file
7
systemd/check-for-updates.service
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=Check hosted services for updates
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=%h/Projects/check-for-updates
|
||||
ExecStart=%h/Projects/check-for-updates/.venv/bin/python %h/Projects/check-for-updates/check_updates.py --config %h/Projects/check-for-updates/services.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue