Xerobit

Cron Every 6 Hours: 0 */6 * * *

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

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

What 0 */6 * * * means

FieldValueMeaning
Minute0at the start of the hour
Hour*/6hours 0, 6, 12, 18
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 18:00 UTC2026-11-05 13:00 New York
22026-11-06 00:00 UTC2026-11-05 19:00 New York
32026-11-06 06:00 UTC2026-11-06 01:00 New York
42026-11-06 12:00 UTC2026-11-06 07:00 New York
52026-11-06 18:00 UTC2026-11-06 13: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.

Kubernetes: whose clock is "midnight"?

The Kubernetes documentation says that for a CronJob with no time zone "the kube-controller-manager interprets schedules relative to its local time zone", and that you can set .spec.timeZone to a tz database name such as Etc/UTC (stable since v1.27). On a managed cluster you may not know the controller's zone, so set it explicitly:

spec:
  schedule: "0 */6 * * *"
  timeZone: "Etc/UTC"

The same documentation says that putting TZ= or CRON_TZ= inside the schedule is "not officially supported" and fails validation. Here is when the next four runs fall in UTC and in two zones, computed from 2026-11-05 12:00 UTC:

UTCNew York (EST)Berlin (CET)
11-05 18:0011-05 13:0011-05 19:00
11-06 00:0011-05 19:0011-06 01:00
11-06 06:0011-06 01:0011-06 07:00
11-06 12:0011-06 07:0011-06 13:00

Sources, retrieved 2026-11-05: Kubernetes docs, CronJob.

More on stuck or missing jobs: Kubernetes CronJob not running.

0 */6 * * * on other platforms

PlatformSyntax for every 6 hours
crontab0 */6 * * * /path/to/script.sh
GitHub Actions- cron: '0 */6 * * *' (UTC)
Kubernetes CronJobschedule: "0 */6 * * *"
systemd timerOnCalendar=*-*-* 0/6:00:00
AWS EventBridgecron(0 0/6 * * ? *) or rate(6 hours)

FAQ

What is the cron expression for every 6 hours?

0 */6 * * *.

How many times does 0 */6 * * * run?

4 times per day in UTC, 1,460 in 2026.

Which time zone does 0 */6 * * * use?

That of the machine or service running it: UTC on GitHub Actions and Vercel, the server's zone in a plain crontab.