What 0 0 * * * means
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | minute 0 |
| Hour | 0 | hour 0, midnight |
| Day of month | * | every value |
| Month | * | every value |
| Day of week | * | every value |
Next 5 runs after 2026-11-05 12:00 UTC
| # | UTC | Same instant in |
|---|---|---|
| 1 | 2026-11-06 00:00 UTC | 2026-11-05 19:00 New York |
| 2 | 2026-11-07 00:00 UTC | 2026-11-06 19:00 New York |
| 3 | 2026-11-08 00:00 UTC | 2026-11-07 19:00 New York |
| 4 | 2026-11-09 00:00 UTC | 2026-11-08 19:00 New York |
| 5 | 2026-11-10 00:00 UTC | 2026-11-09 19:00 New York |
Computed when the site is built from the fixed reference 2026-11-05 12:00 UTC, not from your clock; New York is EST (UTC-5). For later runs use the cron builder.
Midnight can be missing, and UTC midnight is not yours
Most clock changes happen at 02:00 or 03:00, but not everywhere. In America/Havana the clocks jump from 00:00 to 01:00 on 8 March 2026, and in Asia/Beirut on 29 March 2026. On those dates the wall-clock time 00:00 does not exist, so matching 0 0 * * * against the wall clock gives 0 runs for that calendar day. The job is skipped for a whole day, not by an hour.
The more common surprise is UTC. The next midnight UTC after 2026-11-05 12:00 UTC is 2026-11-05 19:00 in New York (evening, the day before). A "nightly" job on a UTC platform such as GitHub Actions ("by default, scheduled workflows run in UTC") therefore runs in the early evening in the Americas and in the morning in much of Asia. Pick the hour in UTC that is quiet where your users are, rather than 0.
For a platform-by-platform view see GitHub Actions cron schedule.
Sources, retrieved 2026-11-05: GitHub Docs, events that trigger workflows.
0 0 * * * on other platforms
| Platform | Syntax for every day at midnight |
|---|---|
| crontab | 0 0 * * * /path/to/script.sh |
| GitHub Actions | - cron: '0 0 * * *' (UTC) |
| Kubernetes CronJob | schedule: "0 0 * * *" |
| systemd timer | OnCalendar=daily |
| AWS EventBridge | cron(0 0 * * ? *) or rate(1 day) |
FAQ
What is the cron expression for every day at midnight?
0 0 * * *.
How many times does 0 0 * * * run?
1 time per day in UTC, 365 in 2026.
Which time zone does 0 0 * * * use?
That of the machine or service running it: UTC on GitHub Actions and Vercel, the server's zone in a plain crontab.