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
- Delays and dropped runs under load. GitHub's documentation notes that scheduled workflows can be delayed during periods of high load, and some queued runs may be dropped. Runs at the top of the hour are the most affected.
- Auto-disabled after 60 days. In public repositories, scheduled workflows are disabled automatically when there has been no repository activity for 60 days. Nothing fails, so nothing alerts.
- Only the default branch counts. A
scheduletrigger defined on another branch never runs. - It just never fires. We saw this ourselves: a
*/5 * * * *schedule in one of our repositories produced zero scheduled runs, while manual and push-triggered runs worked fine. Without a heartbeat we would not have noticed.
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:
- the run is skipped, dropped or disabled → no ping arrives → CronBeat alerts after the grace period;
- the job fails → the
/failping alerts immediately; - the job recovers → you get an "UP" message.
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.