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
@@ -1,2 +1,4 @@
|
||||
# Kestrel's Hall: nightly rollup of yesterday's counts. UTC.
|
||||
5 0 * * * root /usr/local/bin/gamehall-rollup.sh
|
||||
# Kestrel's Hall: the nightly work of every game on this host, and the hall's own count. UTC.
|
||||
# The times are also SCHEDULE in hall-nightly.sh, which tells Sentry to expect them; change both.
|
||||
12 0 * * * root /usr/local/bin/hall-nightly.sh rollup
|
||||
23 7 * * * root /usr/local/bin/hall-nightly.sh backup
|
||||
|
||||
Reference in New Issue
Block a user