The hall keeps the night on the shared host: one job runs every game's rollup and backup and checks in with Sentry once for each
Eight cron monitors, two per game, watched eight scripts that run on the same box at the same two minutes. hall-nightly.sh now runs the hall's own rollup and every game's rollup at 00:12, and every game's backup at 07:23, finding the games by their scripts in /usr/local/bin, and checks in once for each job to the gamehall project's hall-rollup and hall-backup monitors. The template's rollup and backup say by their exit status whether they managed, the skipped backup included, and its deploy leaves the game's own cron file off a host the hall schedules. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
87c2215e5f
commit
60435fef84
@@ -115,3 +115,11 @@ nightly rollup line in /var/lib/gamehall/rollup.jsonl. The skill
|
||||
`gamehall-visitors` reads them. A new game on the shared host is added to
|
||||
`GAMES` in `gamehall/ops/traffic.py` so the digest counts the people the
|
||||
hall sends it.
|
||||
|
||||
The hall also keeps the night on the shared host: `hall-nightly.sh rollup`
|
||||
at 00:12 UTC and `hall-nightly.sh backup` at 07:23 UTC (`gamehall.cron`)
|
||||
run the hall's own rollup and every game's rollup and backup found in
|
||||
/usr/local/bin, and check in with Sentry Crons once for each job, monitors
|
||||
`hall-rollup` and `hall-backup` in the `gamehall` project, from the URLs in
|
||||
/root/.hall-sentry-cron-rollup and /root/.hall-sentry-cron-backup. A game's
|
||||
own cron file and check-ins are for a box of its own.
|
||||
|
||||
Reference in New Issue
Block a user