Cron expression explainer / Every 12 hours
Cron expression for every 12 hours: 0 */12 * * *
Runs at midnight and noon.
Every 12 hours, on the hour.
- Mon, Nov 30, 2026, 12:00
- Tue, Dec 1, 2026, 00:00
- Tue, Dec 1, 2026, 12:00
- Wed, Dec 2, 2026, 00:00
- Wed, Dec 2, 2026, 12:00
- Thu, Dec 3, 2026, 00:00
- Thu, Dec 3, 2026, 12:00
- Fri, Dec 4, 2026, 00:00
- Fri, Dec 4, 2026, 12:00
- Sat, Dec 5, 2026, 00:00
Field by field
- 0minute
- */12hour
- *day of month: any value
- *month: any value
- *day of week: any value
Variations
- 30 */12 * * *Every 12 hours at half past (00:30, 12:30 and so on)
- 0 */12 * * 1-5Every 12 hours on weekdays only
- 0 1-23/12 * * *Every 12 hours starting at 01:00 instead of midnight
- 0 0 */12 * * *Spring @Scheduled (seconds first): every 12 hours
- 0 0 0/12 * * ?Quartz (seconds first, ? for day of week): every 12 hours
- cron(0 0/12 * * ? *)AWS EventBridge (6 fields, with year): every 12 hours
The EventBridge field rules are in AWS EventBridge cron expressions.
Questions
What is the cron expression for every 12 hours?
0 */12 * * *. Every 12 hours, on the hour.
Does 0 */12 * * * skip a run when the clocks change?
No. None of its hours (00:00 and 12: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 2 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 */12 * * * the same as 0 0,12 * * *?
Yes. The step counts from hour 0, so */12 in the hour field matches hours 0, 12. Both lines run at minute 0 of those hours, 2 times a day.
What if a run of 0 */12 * * * 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 12 hours later. Every attempt is logged with its status code and response body.
Call a URL every 12 hours without running a server
Paste 0 */12 * * * 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.