Files
loki/scripts
Mao NakamotoandClaude Opus 4.8 6e8a7ff27a chore(infra): move scheduled jobs off Vercel crons to Hetzner systemd timers
The four janitors (prune-debug-logs, nudge-idle, prune-agent-tokens,
send-digest-emails) were only ever triggered by Vercel cron and silently
stopped running when the Vercel project was paused. They now run on the box
(fleetcrown.orangecat.ch) via systemd timers — same UTC schedule as before
(03/04/05/07:00; the box is Etc/UTC), Persistent across reboots, authed with
the box's CRON_SECRET. Verified live: authed endpoint → 200, unauthed → 401,
test run exit 0.

- scripts/install-hetzner-crons.sh: idempotent installer (fc-cron@.service +
  per-job timers). Re-run after a box rebuild.
- Delete vercel.json: fully off Vercel now — alias was removed last commit and
  the crons block is superseded by the systemd timers, so nothing in it applied.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 14:32:19 +02:00
..