File size: 712 Bytes
66ed84c 7e9482c 66ed84c 45b798c 66ed84c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # LEM-Eval submit watchdog — ensures the continuous `loop` worker is
# alive. The real work is done by `lem-eval.sh loop` running back-to-back
# on each target; this cron just restarts the loop if it died.
#
# Runs at :07 past the hour to match the legacy LEM-benchmarks cadence
# (back when the Ollama pipeline did hourly git push instead of a
# continuous loop). The 1h cadence is the maximum gap the machine can
# be idle if the worker crashes — after that, this cron resurrects it.
#
# Install with:
# crontab -l | cat - cron/submit.cron | crontab -
7 * * * * cd $HOME/PycharmProjects/LEM-Eval && pgrep -fu "$USER" "lem-eval.sh loop" >/dev/null || nohup ./lem-eval.sh loop >> /tmp/lem-eval.log 2>&1 &
|