Cron expression explainer / Every 6 hours
Cron expression for every 6 hours: 0 */6 * * *
Runs at 00:00, 06:00, 12:00 and 18:00.
Every 6 hours, on the hour.
- Mon, Nov 30, 2026, 06:00
- Mon, Nov 30, 2026, 12:00
- Mon, Nov 30, 2026, 18:00
- Tue, Dec 1, 2026, 00:00
- Tue, Dec 1, 2026, 06:00
- Tue, Dec 1, 2026, 12:00
- Tue, Dec 1, 2026, 18:00
- Wed, Dec 2, 2026, 00:00
- Wed, Dec 2, 2026, 06:00
- Wed, Dec 2, 2026, 12:00
Field by field
- 0minute
- */6hour
- *day of month: any value
- *month: any value
- *day of week: any value
Variations
- 30 */6 * * *Every 6 hours at half past (00:30, 06:30 and so on)
- 0 */6 * * 1-5Every 6 hours on weekdays only
- 0 1-23/6 * * *Every 6 hours starting at 01:00 instead of midnight
- 0 0 */6 * * *Spring @Scheduled (seconds first): every 6 hours
- 0 0 0/6 * * ?Quartz (seconds first, ? for day of week): every 6 hours
- cron(0 0/6 * * ? *)AWS EventBridge (6 fields, with year): every 6 hours
The EventBridge field rules are in AWS EventBridge cron expressions.
Questions
What is the cron expression for every 6 hours?
0 */6 * * *. Every 6 hours, on the hour.
Does 0 */6 * * * skip a run when the clocks change?
No. None of its hours (00:00, 06:00, 12:00 and 18:00) falls between 01:00 and 02:59, the hours New York skips (02:00 on 8 March 2026) and repeats (01:00 on 1 November 2026), so it runs 4 times on both days. What moves is the UTC time: 00:00 in New York is 05:00 UTC in winter and 04:00 UTC in summer.
Is 0 */6 * * * the same as 0 0,6,12,18 * * *?
Yes. The step counts from hour 0, so */6 in the hour field matches hours 0, 6, 12, 18. Both lines run at minute 0 of those hours, 4 times a day.
What if a run of 0 */6 * * * fails?
By default RunLater retries a failed request (non-2xx or timeout) 3 times, 1, 3 and 7 minutes after the failure, and you can set up to 10. All three are done long before the next run, at least 6 hours later. Every attempt is logged with its status code and response body.
Call a URL every 6 hours without running a server
Paste 0 */6 * * * into a RunLater scheduled request with your URL, method, headers and body. It runs in the timezone you choose, retries failures and logs every response.
Related guide: Cron expression guide.
Next steps: set up a cron job for a URL, pick the right timezone and see how failed runs are retried.