GitHub Actions Cron Schedule: UTC, Delays and Not Running
GitHub Actions cron schedule reference: ready lines with next-run times, UTC conversion for New York and London, why scheduled workflows are late or stop, and a DST-safe guard.
On this page ⌄
The schedule trigger in GitHub Actions looks like ordinary cron, but it has rules of its own: UTC only, default branch only, a 5 minute floor, possible delays, and automatic disabling in quiet public repositories. Everything in the list below is from GitHub's "Events that trigger workflows" documentation (read 2026-11-02), and the run times were computed separately.
The minimum workflow
name: Nightly
on:
schedule:
- cron: '17 2 * * *'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "event=${{ github.event_name }}"
Quote the cron string. An unquoted * at the start of a YAML value is an alias indicator and breaks parsing. Keep workflow_dispatch: next to schedule: so you can run the job by hand, with gh workflow run nightly.yml or the Actions tab, instead of waiting for the clock.
Parsing the snippet above with PyYAML confirms the structure. One surprise there: YAML 1.1 loaders turn the bare key on into the boolean True ({True: {'schedule': [{'cron': '0 9 * * 1-5'}]}}). GitHub's parser handles on: fine; the quirk only matters if you lint workflows with your own script.
The rules, from the docs
| Rule | What GitHub says |
|---|---|
| Time zone | "By default, scheduled workflows run in UTC." |
| Branch | "Scheduled workflows will only run on the default branch." |
| Floor | "The shortest interval you can run scheduled workflows is once every 5 minutes." |
| Load | "The schedule event can be delayed during periods of high loads of GitHub Actions workflow runs." |
| Inactivity | "In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days." |
| Syntax | *, ,, -, / in any of the five fields |
Because only those four operators exist, Quartz-only characters such as ?, L and # are not available. The cron expression guide covers the dialect differences.
Ready-made lines with next runs
Next runs were computed with Python croniter 6.2.4 from Monday 2026-11-02 10:07 UTC, which is what GitHub's UTC clock would use.
| You want | cron: value | Next five runs (UTC) |
|---|---|---|
| Weekdays 09:00 | 0 9 * * 1-5 | Tue 11-03, Wed 11-04, Thu 11-05, Fri 11-06, Mon 11-09 |
| Hourly, off the hour | 17 * * * * | 10:17, 11:17, 12:17, 13:17, 14:17 |
| First of month 06:00 | 0 6 1 * * | 12-01, 2027-01-01, 02-01, 03-01, 04-01 |
| Every 15 minutes | */15 * * * * | 10:15, 10:30, 10:45, 11:00, 11:15 |
| Sundays midnight | 0 0 * * 0 | 11-08, 11-15, 11-22, 11-29, 12-06 |
| Twice daily | 30 5,17 * * * | 17:30 today, then 05:30, 17:30, 05:30, 17:30 |
| 1st and 15th | 0 0 1,15 * * | 11-15, 12-01, 12-15, 2027-01-01, 01-15 |
| Every 6 hours | 0 */6 * * * | 12:00, 18:00, 00:00, 06:00, 12:00 |
You can paste any of these into the Cron Builder to see the same list. A real run will not be exactly on the minute, which brings up the next section.
"GitHub Actions cron not running": a checklist
-
Is the workflow file on the default branch? A schedule in a feature branch never fires. Merge it first.
-
Is it disabled? In a public repo with no activity for 60 days GitHub disables it. List including disabled ones, then re-enable:
gh workflow list --all gh workflow enable nightly.ymlBoth subcommands and the
--allflag exist ingh2.87.3. Only--helpwas run for them, not against a repository. The docs do not say exactly which events count as "repository activity", so do not rely on a particular one to keep a quiet repo alive. -
Who last edited the cron line? The docs say failure notifications go to the user who last modified the cron syntax, and that a deactivated schedule needs a user with write permission to change the cron line before it runs again under them.
-
Is it just late? The docs allow delays during high load. Choosing an odd minute such as
17instead of0is a common precaution, though the docs only say that high load causes delay, not which minutes are worst. Delays were not measured, and no claim is made about how long they last. -
Is the interval under 5 minutes?
*/1 * * * *is below the floor; use*/5.
UTC and daylight saving time
For "9am in New York" and "9am in London", with the offsets computed in Python zoneinfo:
| Local target | Winter UTC (2026-12-14) | Summer UTC (2027-07-12) |
|---|---|---|
| 09:00 New York | 14:00 | 13:00 |
| 09:00 London | 09:00 | 08:00 |
A single UTC line therefore drifts by an hour for New York twice a year: 0 14 * * 1-5 is 09:00 EST but 10:00 EDT. If it must be 09:00 local year-round, schedule both candidates and guard the job:
on:
schedule:
- cron: '0 13 * * 1-5'
- cron: '0 14 * * 1-5'
workflow_dispatch:
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Decide whether it is 09:00 in New York
id: guard
run: |
hour=$(TZ=America/New_York date +%H)
if [ "${{ github.event_name }}" = "schedule" ] && [ "$hour" != "09" ]; then
echo "local hour is $hour, skipping"
echo "go=false" >> "$GITHUB_OUTPUT"
else
echo "go=true" >> "$GITHUB_OUTPUT"
fi
- name: Report
if: steps.guard.outputs.go == 'true'
run: node scripts/report.js
The guard's date logic was checked with GNU date: 14:00 UTC on 2026-12-14 gives 09:00 EST, 13:00 UTC gives 08:00, 13:00 UTC on 2027-07-12 gives 09:00 EDT, and 14:00 UTC gives 10:00. This workflow was not run on GitHub, so the $GITHUB_OUTPUT wiring is unexecuted. Delays also matter here: a run that is delayed by an hour would read the wrong local hour, so only use this pattern when the job tolerates that.
Prevent overlapping runs
concurrency:
group: nightly
cancel-in-progress: false
With cancel-in-progress: false, a new run queues behind the running one instead of killing it. This is a documented concurrency behaviour; it was not tested.
Tested
Run on 2026-11-02: next-run times with Python 3.11 and croniter 6.2.4; YAML structure with PyYAML; UTC offsets with zoneinfo; the TZ=America/New_York date guard with GNU date on Ubuntu 24.04; gh 2.87.3 --help output for workflow list|enable|run. GitHub's rules were read from the official docs. Not tested: a live workflow on GitHub, actual delay lengths, the 60 day disablement, and concurrency queueing.
FAQ
Why is my GitHub Actions cron not running?
The usual causes, in order: the workflow file is not on the default branch, the repository is public and idle so GitHub disabled the schedule (60 days), or the run is only delayed. Check gh workflow list --all.
What time zone does a GitHub Actions schedule use?
UTC. There is no time zone setting for schedule; convert the hour yourself, using the table above.
Can I use workflow_dispatch and schedule together?
Yes, list both under on:. In the job, github.event_name is schedule for timed runs and workflow_dispatch for manual ones, so a guard can apply only to scheduled runs, as shown above.
What is the shortest cron interval in GitHub Actions?
Once every 5 minutes, according to the docs. Use */5 * * * * at the fastest, and expect runs to start a little late.
Keep reading
Related tools
Cron Builder
Build and parse cron expressions with human-readable explanations.
Hours Calculator
Add start, end and break times for each day to see daily hours, weekly totals and overtime instantly.
Character Counter
Count characters, words, sentences, lines and UTF-8 bytes with live SEO and social media limit tracking.
Keyboard Test
Press any key to see it light up and find dead, stuck or double-typing keys, with rollover checks for full size, TKL and 75% layouts.
Written by Mian Ali Khalid. More guides in Dev Productivity.