But Who Watches the Crons

A quick vibe code cron watcher.


One of my favorite recent vibe-code projects came from necessity—our lead dev heads into the mountains each year with no internet, leaving me on solo duty.

Right before he left, we added uptime monitors, but I was curious how our Rails crons were doing. So Claude and I built a dead-simple cron watcher. Most of it was just a UI tweak, but the magic was in this line:

Instead of updating every cron job, we just changed the runner. Clean, elegant, and gave me peace of mind all week.

As we add or remove crons, the page and system automatically adjust.

bundle exec rails runner "CronRun.create!(task_name: '$TASK_NAME', ran_at: Time.current, status: '$STATUS')" 2>/dev/null || true

Cron Watcher example