Xerobit

Cron Every 2 Hours: 0 */2 * * *

The cron expression for every 2 hours is 0 */2 * * *. It runs 12 times per day in UTC (4,380 times in 2026). The next five run times are listed below.

  • Cron expression
    0 */2 * * *
  • Schedule
    every 2 hours
  • Runs per day (UTC)
    12
  • Runs per 30 days
    360
  • systemd OnCalendar
    *-*-* 0/2:00:00
  • AWS EventBridge
    cron(0 0/2 * * ? *)

What 0 */2 * * * means

FieldValueMeaning
Minute0at the start of the hour
Hour*/2hours 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

#UTCSame instant in
12026-11-05 14:00 UTC2026-11-05 09:00 New York
22026-11-05 16:00 UTC2026-11-05 11:00 New York
32026-11-05 18:00 UTC2026-11-05 13:00 New York
42026-11-05 20:00 UTC2026-11-05 15:00 New York
52026-11-05 22:00 UTC2026-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

PlatformSyntax for every 2 hours
crontab0 */2 * * * /path/to/script.sh
GitHub Actions- cron: '0 */2 * * *' (UTC)
Kubernetes CronJobschedule: "0 */2 * * *"
systemd timerOnCalendar=*-*-* 0/2:00:00
AWS EventBridgecron(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.