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:
@@ -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
|
||||
Reference in New Issue
Block a user