Files
Holden Salomon a9e8287065
test / test (macos-latest, 3.13) (push) Canceled after 0s
test / test (ubuntu-latest, 3.11) (push) Successful in 17s
test / test (ubuntu-latest, 3.12) (push) Successful in 18s
test / test (ubuntu-latest, 3.13) (push) Successful in 15s
ai-incidents 1.0.0
2026-09-21 17:48:40 +00:00

13 lines
695 B
Plaintext

# crontab -e
#
# Nightly at 02:30. cron's PATH is minimal: give the full path to ai-incidents, and make sure the
# judge's CLI (claude, by default) is reachable too. Output goes to a log you can read later; the
# exit code is 0 for a successful run (quiet or not), 1 for a failed one, 3 if a run was already
# in progress.
PATH=/home/you/.local/bin:/usr/local/bin:/usr/bin:/bin
30 2 * * * ai-incidents run >> "$HOME/.local/state/ai-incidents/cron.log" 2>&1
# With a notification when something is filed, and a heartbeat on every successful run:
# 30 2 * * * ai-incidents run --notify-cmd "curl -s --data-binary @- https://ntfy.sh/your-topic" >> "$HOME/.local/state/ai-incidents/cron.log" 2>&1