> Markdown version of https://opspane.dev/cron/github-actions/ for AI agents and readers: the same text, without navigation or the interactive tool.
>
> The tool computes its result with JavaScript in the browser, so this file holds the reference text, worked examples and FAQ. Open the page to run it on your own input.
>
> Answer endpoint for agents: the same URL parameters on https://opspane.dev/cron/github-actions/answer.md return the computed result as Markdown, without JavaScript, e.g. https://opspane.dev/cron/github-actions/answer.md?expr=30%209%20*%20*%201-5&tz=Europe%2FBerlin

# GitHub Actions Cron

Build on.schedule crontab entries for GitHub Actions with UTC conversion, minimum 5-minute warnings and copy-ready YAML.

## Quick answer

- `on.schedule` takes five POSIX cron fields; the `@daily`-style aliases are not supported.
- Schedules run in UTC unless you add a `timezone:` key with an IANA name, such as `"Europe/Berlin"`, next to `cron`.
- The shortest interval is every 5 minutes, so `*/5 * * * *` is the fastest schedule.
- Runs can start late under load, run only from the latest commit on the default branch, and stop after 60 days without activity in a public repository.

## How to use

1. Type the schedule as five cron fields — minute, hour, day of month, month, day of week.
2. Pick the time zone it should follow. Keep UTC to match GitHub's default.
3. Copy the `on.schedule` block. If your GitHub does not support `timezone:` yet, use the UTC-only version.

## GitHub Actions cron syntax

GitHub uses POSIX cron syntax with five fields and the operators `*`, `,`, `-` and `/`. Months accept `1-12` or `JAN-DEC`; days of the week accept `0-6` or `SUN-SAT`. The `@daily`-style aliases are not supported.

| Schedule | Cron |
| --- | --- |
| Every 5 minutes (the minimum) | `*/5 * * * *` |
| Every hour, on the hour | `0 * * * *` |
| Every day at 00:00 | `0 0 * * *` |
| Weekdays at 09:30 | `30 9 * * 1-5` |
| First day of each month | `0 0 1 * *` |

## Time zones: timezone: or UTC

By default a scheduled workflow runs in UTC. Add an IANA zone with the `timezone` key beside `cron` and GitHub evaluates the schedule in that zone, daylight saving included. On a GitHub installation that does not know the key, convert the hours to UTC instead — the UTC-only snippet above does that and splits the schedule when the conversion crosses midnight.

## What GitHub does differently from cron

### The 5-minute minimum

GitHub's documentation states the shortest interval you can run scheduled workflows is once every 5 minutes. Shorter intervals are not run more often — runs closer together than that are dropped, so `*/5 * * * *` is the fastest schedule to write.

`* * * * *` requested every minute · 15 minutes shown

GitHub documents the shortest interval as once every 5 minutes — so of these 15 requested minutes at most three can start a run, never all fifteen; the minutes in between are dropped. Write `*/5 * * * *` to say exactly which minutes you mean.

### Skipped times advance

With a `timezone:` that observes daylight saving, a schedule inside the hour skipped for spring-forward is not dropped: it **advances to the next valid time** — a 02:30 schedule runs at 03:00 that day.

`30 2 * * *` Sun 8 Mar 2026 · New York · clocks spring forward

New York springs forward on 8 March 2026, so 02:00–02:59 never happens. With a `timezone:` set, GitHub does not drop the run: a schedule in the skipped hour **advances to the next valid time** — 02:30 runs at 03:00 that day.

### Other differences

- **Delays under load.** The schedule event can start late when GitHub Actions is busy, so do not rely on exact minutes.
- **Default branch only.** Scheduled workflows run from the latest commit on the default branch.
- **60-day inactivity.** In public repositories, schedules are disabled after 60 days without activity.

## How the results are verified

Parsing and next runs share the cron engine verified against robfig/cron on hundreds of cases; the GitHub-specific rules — the 5-minute minimum, the timezone key and how skipped daylight-saving times advance — follow GitHub's documentation for the `schedule` event. The UTC-only snippet is checked by comparing its next runs with the original schedule's.

## FAQ

### What time zone does a GitHub Actions cron use?

UTC by default. You can add a timezone key with an IANA name next to cron, for example timezone: "Europe/Berlin", and GitHub evaluates the schedule in that zone, daylight saving included.

### Why didn't my scheduled workflow run on time?

GitHub may delay the schedule event during periods of high load, and the shortest interval it runs is every 5 minutes. Scheduled workflows also only run from the latest commit on the default branch.

### Why did my scheduled workflow stop running?

In a public repository, GitHub disables scheduled workflows automatically after 60 days without repository activity. Re-enable the workflow from the Actions tab or push a commit.

### Can I use @daily or @hourly in GitHub Actions?

No. GitHub Actions does not support the @-aliases; write the five fields, for example 0 0 * * * for daily at midnight.

### What happens to a 02:30 schedule when clocks spring forward?

With a timezone set, GitHub moves a run that falls in the skipped hour to the next valid time, so 02:30 runs at 03:00 that day. Without a timezone the schedule is in UTC, which has no daylight saving.

### How do I run a workflow every 5 minutes?

Use */5 * * * *. That is the fastest GitHub allows; anything more frequent is limited to every 5 minutes, and runs may still start late under load.

## Related tools

- [Cron Expression Explainer](https://opspane.dev/cron/explainer/): Understand any cron expression in plain English, with timezone-aware next run times and warnings for schedules that never fire.
- [Cron Expression Converter](https://opspane.dev/cron/translate/): Convert one schedule to crontab, Quartz, AWS EventBridge, GitHub Actions, Kubernetes and systemd — with next run times for each.
- [AWS EventBridge Cron](https://opspane.dev/cron/aws-eventbridge/): Validate AWS EventBridge cron and rate expressions, see next run times in UTC and generate Terraform, CloudFormation or AWS CLI snippets.
