What 0 */2 * * * means
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | at the start of the hour |
| Hour | */2 | hours 0, 2, 4 ... 22 |
| 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-05 14:00 UTC | 2026-11-05 09:00 New York |
| 2 | 2026-11-05 16:00 UTC | 2026-11-05 11:00 New York |
| 3 | 2026-11-05 18:00 UTC | 2026-11-05 13:00 New York |
| 4 | 2026-11-05 20:00 UTC | 2026-11-05 15:00 New York |
| 5 | 2026-11-05 22:00 UTC | 2026-11-05 17: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.
Which clock changes hit an every-2-hours job
Only a schedule whose hour list contains the skipped or repeated hour is affected. 0 */2 * * * runs at the even hours 0, 2, 4 ... 22. America/New_York skips 02:00 on 8 March 2026, an even hour, so the schedule runs 11 times that day instead of 12. The repeated hour on 1 November is 01:00, an odd hour, so the schedule is unaffected and runs 12 times. Europe/London skips 01:00 on 29 March 2026 (odd), so it also runs 12 times.
Compare every 4 hours (0 */4 * * *): hours 0, 4, 8, 12, 16 and 20 never include 02:00, so New York still gets 6 runs on 8 March. If a missed 02:00 run matters, shift the list to odd hours with 0 1-23/2 * * * in New York, or run the server in UTC.
Sources, retrieved 2026-11-05: crontab(5) man page.
0 */2 * * * on other platforms
| Platform | Syntax for every 2 hours |
|---|---|
| crontab | 0 */2 * * * /path/to/script.sh |
| GitHub Actions | - cron: '0 */2 * * *' (UTC) |
| Kubernetes CronJob | schedule: "0 */2 * * *" |
| systemd timer | OnCalendar=*-*-* 0/2:00:00 |
| AWS EventBridge | cron(0 0/2 * * ? *) or rate(2 hours) |
FAQ
What is the cron expression for every 2 hours?
0 */2 * * *.
How many times does 0 */2 * * * run?
12 times per day in UTC, 4,380 in 2026.
Which time zone does 0 */2 * * * use?
That of the machine or service running it: UTC on GitHub Actions and Vercel, the server's zone in a plain crontab.