CronBeat

GitHub Actions scheduled workflow not running? Get alerted when it's skipped

A failed workflow sends you an email. A workflow that never starts sends nothing. If you use on: schedule for backups, syncs, reports or cleanup jobs, here is why runs go missing and how to find out within minutes instead of weeks.

Why scheduled runs go missing

The fix: a heartbeat as the last step

Create a free check in CronBeat (no signup) with the same period as your schedule, then add one step at the end of the job. If the ping doesn't arrive on time, you get an alert.

on:
  schedule:
    - cron: "17 3 * * *"     # daily at 03:17 UTC (avoid :00)
  workflow_dispatch:

jobs:
  backup:
    runs-on: ubuntu-latest
    steps:
      - run: ./backup.sh
      - name: Heartbeat
        if: success()
        run: curl -fsS -m 10 --retry 3 https://rtekfsmupinxncwigmnf.supabase.co/functions/v1/api/ping/${{ secrets.CRONBEAT_KEY }}
      - name: Report failure
        if: failure()
        run: curl -fsS -m 10 --retry 3 https://rtekfsmupinxncwigmnf.supabase.co/functions/v1/api/ping/${{ secrets.CRONBEAT_KEY }}/fail

Prefer a ready-made step? The CronBeat Heartbeat action on GitHub Marketplace does the same: uses: yeogreenji/cronbeat-action@v1 with key: ${{ secrets.CRONBEAT_KEY }} (add status: fail in an if: failure() step).

Store the ping key as a repository secret named CRONBEAT_KEY (Settings → Secrets and variables → Actions). With this setup:

Choosing period and grace

Set the period to your schedule interval (for the daily example, 1 day). Because GitHub can start scheduled runs late, give a generous grace time: 30–60 minutes for hourly or daily jobs. Check the cron explainer if you're unsure what your expression means; note that GitHub schedules always use UTC.

Where alerts go

Slack or Discord webhooks, or a push notification to your phone through the free ntfy app. Setup steps are in the CronBeat FAQ.

Free: 20 checks, no signup, checked every minute. Public status shows how reliably the checker itself runs.

Create a check · Monitoring regular cron jobs