Skip to main content

Cron every six hours each day

Question

How can I run command every six hours every day?

Answer

Use 0 */6 * * * to run at the top of every sixth hour. With the standard hour range of 0 through 23, that means four runs each day: 00:00, 06:00, 12:00, and 18:00. This is a clock-aligned schedule, not an interval measured from deployment time or from the previous run's completion. If you need a different phase, select an explicit starting range; for example, 0 3-23/6 * * * runs at 03:00, 09:00, 15:00, and 21:00.

crontab
# at 00:00, 06:00, 12:00, and 18:00 every day
0 */6 * * *

Read 0 */6 * * * from left to right: minute 0 fixes each run at the top of the hour; */6 selects every sixth value in the hour field, starting from that field's minimum of 0; the day-of-month, month, and day-of-week wildcards allow every date. The scheduler's timezone determines what those clock times mean. If the host is unavailable at one of the matching times, standard cron moves on to the next scheduled match rather than running the missed occurrence when the host returns.

Run 0 */6 * * * on Crontap
Why this matters

The midnight anchor matters when you expect “six hours from now.” Starting or deploying the job at 10:00 does not shift this expression to 10:00, 16:00, 22:00, and 04:00; it still follows 00/06/12/18. Identical schedules across many hosts can also create a load spike at those four boundaries. Choose an explicit offset when needed, and use per-host staggering or concurrency controls when simultaneous runs would overload a shared database, API, or queue.

Read the dedicated guide: Cron every 6 hours.

Cron schedule used

What it does

0 */6 * * * — command

At 0 minutes past the hour, every 6 hours, every day.

Calendar

View future cron matches in a calendar

September 2026 · UTC

0 runs

See this cron expression on the calendar view example

Write the cron here. Run it on Crontap.

Point Crontap at any URL. Pick any cron. Done.

WordPress, Shopify, Railway, Cloud Run, Vercel, HubSpot, Ghost, your own box. If it answers HTTP, Crontap can drive it on a clock you can read, in the timezone that actually matters, and page you when something breaks.

1.9k+ teams · Free forever tier · No credit card

Permalink: https://tool.crontap.com/help/cron-job-run-script-every-number-of-hours-of-the-day