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
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
# Change to the repository root (one level up from this script's directory)
cd "$(dirname "$0")/.."
# Prefer uv if available (uses pyproject.toml/uv.lock), otherwise fall back to system Python.
if command -v uv >/dev/null 2>&1; then
uv run python -u main.py
else
python3 -u main.py
fi