CronNudge

Published October 21, 2026

How to Monitor GitHub Actions Scheduled Workflows

GitHub Actions is a convenient place to run scheduled jobs: nightly builds, dependency checks, data exports, link checkers, report emails. It's also one of the places scheduled jobs disappear most quietly. A failed run sends a notification to one person. A run that never starts sends nothing.

This guide covers how on: schedule behaves, the specific ways it fails, and how to add a heartbeat so you know when a scheduled workflow stops running. The same silence on GitLab is scheduled pipelines. On Jenkins it is Pipeline cron triggers. On CircleCI it is scheduled pipelines.

Behavior below is from GitHub's "Events that trigger workflows" documentation as of October 2026.

How scheduled workflows work

# .github/workflows/nightly-export.yml
name: Nightly export

on:
  schedule:
    - cron: "17 3 * * *"   # 03:17 UTC daily
  workflow_dispatch:        # lets you run it by hand too

jobs:
  export:
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v4
      - run: ./scripts/export.sh

The rules, straight from GitHub's docs:

  • POSIX five-field cron. The @daily-style macros are not supported.
  • UTC by default. You can now set an IANA timezone on a schedule entry, e.g. timezone: "America/New_York".
  • Minimum interval of 5 minutes.
  • Default branch only. Scheduled workflows run on the latest commit of the default branch, and the workflow file must exist there.
  • Runs can be delayed during high load, and "the start of every hour" is called out as a high-load time.
  • Queued jobs may be dropped if load is high enough.
  • Auto-disable in public repos. Scheduled workflows are automatically disabled when a public repository has had no activity for 60 days.
  • Notifications go to one person: the user who last modified the cron syntax in the workflow file.

Each of those last four is a silent failure. A delayed run might be fine. A dropped run, an auto-disabled workflow, or a notification email that goes to someone who left the team are not.

Step 1: avoid the top of the hour

Because the start of each hour is the busiest time, schedules like 0 * * * * and 0 0 * * * are the most likely to be delayed or dropped. Pick an odd minute:

on:
  schedule:
    - cron: "17 3 * * *"     # instead of 0 3 * * *
    - cron: "43 */6 * * *"   # instead of 0 */6 * * *

This doesn't eliminate delays, but it's a free improvement.

Step 2: add a heartbeat step

A heartbeat is a request to a monitoring URL at the end of a successful run. The monitor knows the schedule and alerts you if the request doesn't arrive in time. It catches the failures GitHub won't tell you about: dropped runs, disabled workflows, and runs stuck in a queue.

Store the ping URL as a repository secret (for example HEARTBEAT_NIGHTLY_EXPORT), then add a final step:

jobs:
  export:
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v4

      - name: Run export
        run: ./scripts/export.sh

      - name: Heartbeat
        if: success() && github.event_name == 'schedule'
        run: curl -fsS -m 10 --retry 3 "${{ secrets.HEARTBEAT_NIGHTLY_EXPORT }}" > /dev/null

Notes on this setup:

  • if: success() is the default for steps, but writing it makes the intent obvious: only ping when everything before it passed.
  • github.event_name == 'schedule' keeps manual workflow_dispatch runs from resetting the monitor. Drop that condition if you want manual runs to count.
  • timeout-minutes on the job turns a hang into a failure. Without a timeout, a stuck job can run for a long time, and the heartbeat just shows up late.

Multi-job workflows

If your workflow has several jobs, ping from a final job that depends on all of them:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - run: ./scripts/build-report.sh

  publish:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - run: ./scripts/publish-report.sh

  heartbeat:
    needs: [build, publish]
    if: success() && github.event_name == 'schedule'
    runs-on: ubuntu-latest
    steps:
      - run: curl -fsS -m 10 --retry 3 "${{ secrets.HEARTBEAT_REPORT }}" > /dev/null

The heartbeat job only runs when both upstream jobs succeed.

Step 3: set the schedule and grace period on the monitor

Use the same cron expression and time zone as the workflow. CronNudge's default grace is 5 minutes. The form offers none, 1 minute, 5 minutes, 15 minutes, and 1 hour. The API accepts any whole number of seconds up to 7 days.

Scheduled workflows can start late. For a daily job, 1 hour of grace is the longest form option and is a reasonable start. If alerts clear themselves a few minutes later, set a longer grace through the API. The goal is to hear about runs that are missing, not ones that are a bit late.

Free's shortest schedule is 5 minutes, which matches GitHub Actions' minimum interval. Pro's shortest is 1 minute. CronNudge does not monitor sub-minute schedules. For very frequent schedules, GitHub Actions is not a precise scheduler. If timing matters, run the job elsewhere and keep Actions for daily or hourly work.

What CronNudge does with that ping

Store https://cronnudge.com/ping/<check-id> as the secret. GET, POST, and HEAD all count. The response is text/plain ok.

The success-only step above treats a failed run like a missed run: no ping, then an alert after grace. To alert as soon as the job fails, ping /fail when the job is not successful, and ping /start at the beginning if you also want a stuck-run alert. Match the check's cron and timezone to the workflow. One alert when the check is down, and one when it recovers.

Free is 10 checks, with email and one Slack or Discord channel. Signed webhooks and the API are on Pro, which is $12 a month for 100 checks.

Step 4: guard against auto-disable

In public repos, scheduled workflows are disabled after 60 days without repository activity. A heartbeat catches this: the pings stop, and you get an alert. To re-enable the workflow, go to the repo's Actions tab, select it, and click Enable workflow, or use the CLI:

gh workflow enable nightly-export.yml
gh workflow run nightly-export.yml   # trigger a run right away to confirm

Pushing a commit that changes the workflow's cron line also reactivates a disabled scheduled workflow.

Other reasons a scheduled workflow doesn't run

  1. The workflow isn't on the default branch. Schedules on feature branches never fire.
  2. Invalid cron syntax or a macro. @daily isn't supported. Validate the expression with the crontab explainer, or paste the whole on.schedule block into the GitHub Actions schedule checker. The GitHub Action in this repo pings start, success, and fail. It is not on the Marketplace.
  3. Wrong time zone assumption. UTC unless you set timezone.
  4. Actions is disabled for the repo or organization, or the workflow was disabled manually.
  5. Forks. Workflows don't run in forks unless Actions is enabled there.
  6. High load at the top of the hour. The run was delayed or dropped.

The checks for each of those, and for a run that started and then skipped the job, are in GitHub Actions schedule not running.

What about failure notifications?

GitHub can email or show a notification when a workflow run fails, but only to the user who last changed the cron line, and only for runs that started and failed. It can't notify you about a run that never happened. Treat built-in notifications as a supplement, and use the heartbeat to cover missing runs and send alerts to a shared channel like Slack or Discord.

FAQ

Why didn't my GitHub Actions cron run on time? Scheduled runs can be delayed during high load, especially at the start of each hour. Some queued runs can be dropped. Schedule at an odd minute and use a generous grace period.

What time zone does on: schedule use? UTC by default. You can set a timezone per schedule using an IANA name.

What's the shortest schedule GitHub Actions supports? Once every 5 minutes.

Why did my scheduled workflow stop running? In public repos, schedules are disabled after 60 days without repository activity. Also check that the workflow is on the default branch and that Actions is enabled.

Can I monitor a workflow without changing it? You could poll the GitHub API for recent runs, but that's another scheduled job that can fail. A one-step heartbeat is simpler and also catches dropped runs.

Should I store the ping URL as a secret? Yes. Anyone with the URL can send fake "success" pings, so treat it like a credential.


CronNudge gives each scheduled workflow its own ping URL and alerts you when a run is late or missing. Free is 10 checks, with email and one Slack or Discord channel. Pro is $12 a month for 100 checks, and adds signed webhooks and the API. Monitor your first workflow.