GitHub Actions Scheduled Workflows

Get alerted when a scheduled GitHub Actions check-in is missing.

A workflow that never starts cannot send its own failure notification. Add a heartbeat after successful work so PingCron can watch for the next expected check-in. Start with one scheduled workflow and verify both the receipt and your alert destination.

5 monitors free · Email, Slack, and Discord · No credit card

Schedule not running? Inspect the run history

Example: a nightly backup workflow

  1. Work finishes

    Send a success heartbeat after the backup and required upload finish.

  2. A check-in is missed

    PingCron flags the missing heartbeat after its grace period and sends an alert to your configured destination.

  3. You investigate

    Check the GitHub run and backup destination. A heartbeat does not prove the backup is restorable.

Illustrative sequence. Verify both a real scheduled heartbeat and an alert-destination test before relying on monitoring.

A valid workflow file does not prove the scheduled job ran.

Check the workflow’s default branch, enabled state, runner availability, secrets, and recent run history. A previous green run does not establish that the next scheduled run happened.

GitHub documents delays under load and automatic disabling after 60 days without repository activity for scheduled workflows in public repositories. Check the provider’s current scheduling rules before setting your expectation.

GitHub Actions schedule failure modes:

  • A required secret expired or lost access
  • A runner is unavailable or a workload step failed
  • The workflow or Actions is disabled
  • The scheduled trigger was removed or changed

Setup

Use a reviewed patch, or install the heartbeat manually

In Integrations, connect a selected repository, discover workflows, and choose Review and protect for a supported schedule. After creating the monitor, prepare its installation patch. The manual example below is a separate option: use the PINGCRON_URL Actions secret and replace ./sync.sh with your workload.

The manual example reports success only and a manual dispatch also sends a receipt. The generated installation patch is different: it reports success or failure only on scheduled runs and preserves the workload result if reporting fails. Generated patches currently support one ordinary, non-matrix Ubuntu job; unsupported structures need manual installation. Copying a patch or saving a secret does not establish a successful run.

Real-world examples

Scheduled job with a success heartbeat

# Save as .github/workflows/daily-sync.yml on your default branch.
# Replace ./sync.sh with your workload; it must exit nonzero on failure.
# Add the monitor's success URL as the repository Actions secret PINGCRON_URL.
name: Daily sync
on:
  schedule:
    - cron: '17 2 * * *'
  workflow_dispatch:
permissions:
  contents: read
jobs:
  sync:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4
      - name: Run workload
        run: ./sync.sh
      - name: Report successful completion
        if: success()
        env:
          PINGCRON_URL: ${{ secrets.PINGCRON_URL }}
        run: |
          test -n "$PINGCRON_URL"
          curl --max-time 10 -fsS "$PINGCRON_URL"

Verify your first scheduled GitHub Actions check-in

In Integrations, install the GitHub App for selected repositories, authorize your GitHub account, and confirm the repository connection. Discover workflows, review a supported schedule, and create a monitor. Store its heartbeat URL as a repository secret, then add a success step after the workload succeeds. Connecting the repository alone does not edit or run your workflow.

Check a GitHub Actions cron schedule →
  • Keep the scheduled workflow on the default branch. Check that Actions and the workflow are enabled.
  • Allow for scheduler delays when choosing grace. GitHub schedules can be delayed or dropped under load; an off-hour minute can reduce contention.
  • For workflows with several jobs, report success only after every required workload job has succeeded. Do not use an unconditional always() success step.

GitHub Actions schedule not running? Find where it stopped.

First find the expected occurrence in Actions history. No run, a waiting job, failed work, and a missing heartbeat require different checks. A green manual run does not prove that the scheduled trigger fired.

Inspect the workflow and scheduled run history

In GitHub, open the repository’s Actions tab, select the workflow, and filter to the schedule event. Check its enabled state and the YAML file on the repository’s default branch. You can also use the read-only commands below with GitHub CLI, signed in to an account with access to that repository.

Replace OWNER/REPO, daily-sync.yml and DEFAULT_BRANCH with your repository, workflow filename and actual default branch. These commands inspect existing records. They do not enable, dispatch, rerun or edit a workflow.

  1. Find the workflow, including disabled entries.
    gh workflow list --repo OWNER/REPO --all --limit 100 --json id,name,path,state

    Check the filename and state. This returns at most 100 workflows; increase the limit if yours is outside the results. Workflow list reference.

  2. Read the version that can receive scheduled events.
    gh workflow view daily-sync.yml --repo OWNER/REPO --ref DEFAULT_BRANCH --yaml

    Inspect on.schedule, its cron entries and any timezone setting. A feature-branch copy is not evidence of what is deployed on the default branch. Workflow view reference.

  3. Separate scheduled runs from manual tests.
    gh run list --repo OWNER/REPO --workflow daily-sync.yml --event schedule --all --limit 20 --json databaseId,createdAt,event,status,conclusion,url

    The list includes disabled workflows and returns at most 20 matching runs. Open the returned run URL to inspect jobs. createdAt is the run record’s creation time, not a promised cron execution time. To inspect manual tests separately, change the event filter to workflow_dispatch. Run list reference.

An empty list is not a diagnosis. Confirm the repository, workflow identity, access, event filter and the available history. Read command errors instead of treating them as zero runs. A recent-run limit can omit an older occurrence, and removed history cannot establish whether a run originally existed.

1. No scheduled run appears

Check the default-branch YAML and whether Actions and the workflow are enabled. In public repositories, 60 days without repository activity can disable schedules. Compare the expected time with the trigger’s IANA timezone, or UTC when timezone is omitted. GitHub documents delayed and dropped runs under load; moving away from the start of an hour can reduce contention, but does not guarantee execution.

For an enterprise using Enterprise Managed Users, ask an administrator to check whether the schedule’s actor account was suspended or deprovisioned. Removing organization membership alone is not the same condition. Actor requirements.

2. A run exists, but work is waiting or still running

Open the job details. Check runner availability, environment approvals and concurrency. A queued or in-progress run is different from a missing trigger. Compare elapsed time with normal runtime before adjusting monitoring grace; increasing grace also delays detection.

3. Work failed, was cancelled, or was skipped

Inspect the first failed step, cancellation reason or job condition. Check required secrets and destination access. Do not add an unconditional success heartbeat to make the monitor green. For multiple jobs, one successful branch must not hide another required job that did not succeed.

4. Required work passed, but no heartbeat arrived

Inspect the reporting step and its event condition, secret name, HTTP result and network access. The manual example below uses PINGCRON_URL. A generated installation patch uses its own monitor-specific secret and reports only on scheduled runs. Compare the intended monitor and receipt time; PingCron cannot identify which GitHub execution sent a receipt or prove that its output is correct.

Collect evidence before changing the schedule

  • Workflow filename, default branch and enabled state.
  • Cron expression, configured timezone, expected occurrence in UTC, and when you checked.
  • Most recent scheduled run URL, event, status and conclusion, or the exact query and error if no record is available.
  • Whether a separate manual test succeeded, plus relevant job, runner or reporting errors.

Check GitHub Status for a matching incident. A status incident alone does not establish the cause for your repository. Share only details appropriate for the recipient. Keep heartbeat URLs, tokens, secrets and private logs out of public reports.

Scheduling and CLI references checked October 24, 2026. GitHub schedule rules · Workflow troubleshooting.

After diagnosis, verify one scheduled check-in

The downloadable example runs at 02:17 UTC because it sets no timezone. Review the configured timezone if you add one. A manual run can test this example’s workload and receipt; verify a later scheduled run separately.

Download the scheduled workflow example

Replace ./sync.sh and add your own Actions secret before using it. This single-job example sends success only after the workload passes. It cannot prove output correctness or guarantee scheduler dispatch. PingCron can alert when the expected completion check-in is overdue; it does not dispatch, repair or retry the workflow.

Before relying on alerts

  1. Review the monitor’s schedule, timezone, and grace period against the deployed job.
  2. Save your alert destination in Settings, send a labeled test, and confirm that you received it. Set up and verify an alert destination.
  3. Run the actual workload through its scheduler and confirm its first successful heartbeat in PingCron. Copying the URL does not install monitoring.

A successful receipt records what the job reported; it does not prove the output is correct. Detection and delivery timing depend on the schedule, grace period, and alert provider.

Start with one workflow. Keep your existing GitHub setup.

Free includes 5 monitors, 7-day receipt history, and email, Slack, and Discord alerts. No credit card is required.

Pro is $9.99/month for up to 50 monitors, 30-day receipt history, and custom webhooks for one account owner. Upgrade when you need more than five monitors, longer retained history, or webhooks. Shared account access starts on Team.

After free signup, continue to GitHub Integrations to connect selected repositories. For manual setup, create a monitor in the dashboard and install its heartbeat yourself. Connecting a repository alone does not activate monitoring.

Read the official scheduler documentation

What GitHub Actions schedules should you monitor?

Anything you set up with on: schedule that has to keep running.

Nightly test suites

Cron-triggered CI runs against main or production branches.

Database backup workflows

Scheduled pg_dump → S3 jobs running on Actions runners.

Reporting workflows

Daily metrics fetches, internal dashboards, weekly digests.

Dependency scanners

Dependabot-style scans, security audits, SBOM generation.

Deploy / sync jobs

Hourly content syncs, doc rebuilds, mirror pushes.

Stale issue / PR bots

Workflows that close inactive issues; silent failure breaks repo hygiene.

Cross-repo triggers

Scheduled workflow_dispatch calls into other repositories.

External API pulls

Periodic fetches from third-party APIs into repo state.

How it works

Connect only the repositories you choose. Read-only access is enough for discovery, patch preparation, and coverage checks.

01

Discover and review

Inspect scheduled workflows from the default branch. Review the schedule, timezone, and grace before creating a monitor.

02

Save the secret and apply the patch

Copy the monitor-specific secret name and value into GitHub, save it, and review the generated source before committing. PingCron does not write to your repository.

03

Verify a scheduled run and alert

Wait for a real scheduled run. Refresh PingCron to verify the first successful heartbeat, then send an alert-destination test and confirm it arrived.

04

Enable coverage checks

Opt in for each repository in Integrations. Review unlinked workflows, changed schedules, missing supported reporting, lost access, and the last successful scan. Observations target an hourly interval and can be delayed.

Alerts where you'll actually see them.

Save alert destinations for the owning account. Email, Slack, and Discord are included on every plan; custom webhooks require Pro or above.

Email

HTML alerts with monitor details and direct links.

Slack

Post to any Slack channel via incoming webhook.

Discord

Native Discord webhook integration.

Custom webhooks

POST alerts to any endpoint with full payload.

FAQ

A failed run and a missing scheduled run are different signals. PingCron expects a heartbeat after successful work and alerts when that check-in is overdue. Inspect GitHub run logs to distinguish a failed workload, a delayed or absent run, and a heartbeat delivery problem. A missing receipt alone does not identify the cause.
No. Connect the repository, discover workflows, review a supported schedule, and create the monitor. Then install its heartbeat and verify a successful run and alert destination.
Yes. Choose grace to accommodate the delays your workload can tolerate. A schedule prediction is not evidence that GitHub executed the workflow.
Report success only after all required workload jobs succeed. Use a final dependent job with explicit dependencies, or separate monitors for independent workloads. Do not let one successful branch hide another failed job.
The generated patch sends heartbeats only on scheduled runs, so a manual dispatch will not activate that monitor. The separate manual example on this page also reports on workflow_dispatch. In either case, a manual run cannot establish that automatic scheduling works.
Opt-in repository scans compare scheduled workflows with saved monitor expectations and supported reporting steps. They can flag unlinked workflows, changed or removed schedules, missing managed instrumentation, and lost access. Unknown custom instrumentation requires manual review. Incomplete scans cannot prove a source was removed; check the last successful scan time.
No. Source observations and heartbeat receipts are separate evidence. PingCron cannot read your saved GitHub secret, establish the correctness of your workload, or identify which GitHub execution sent a receipt. Inspect the run in GitHub as well as the receipt in PingCron.
No. PingCron uses read-only access to selected repositories. It prepares a patch for your review when the workflow structure is supported. You save the secret and apply the change yourself. No pull request is created automatically.
Yes. Free includes 5 monitors, 7-day receipt history, and email, Slack, and Discord alerts. Pro is $9.99/month for up to 50 monitors, 30-day history, and custom webhooks for one account owner. Start free and verify one scheduled workflow; upgrade when those limits no longer fit.

Related monitoring guides

Verify one scheduled workflow before adding the rest.

Review the schedule, install the heartbeat, and verify the first run. Five monitors are free.

Monitor one workflow free

5 monitors free · Email, Slack, and Discord · No credit card