Cron expression explainer / Twice a day (9am and 5pm)
Cron expression for twice a day (9am and 5pm): 0 9,17 * * *
A comma list in the hour field runs the job at each listed hour.
At 09:00 and 17:00, every day.
- Mon, Nov 30, 2026, 09:00
- Mon, Nov 30, 2026, 17:00
- Tue, Dec 1, 2026, 09:00
- Tue, Dec 1, 2026, 17:00
- Wed, Dec 2, 2026, 09:00
- Wed, Dec 2, 2026, 17:00
- Thu, Dec 3, 2026, 09:00
- Thu, Dec 3, 2026, 17:00
- Fri, Dec 4, 2026, 09:00
- Fri, Dec 4, 2026, 17:00
Field by field
- 0minute
- 9,17hour
- *day of month: any value
- *month: any value
- *day of week: any value
Questions
What is the cron expression for twice a day (9am and 5pm)?
0 9,17 * * *. At 09:00 and 17:00, every day.
Does daylight saving time move 0 9,17 * * *?
Not in local time. US clocks change between 01:00 and 03:00 (8 March and 1 November 2026) and this runs at 09:00 and 17:00, so it is never skipped or doubled. In UTC it moves an hour: 09:00 and 17:00 in America/New_York are 14:00 and 22:00 UTC in winter and 13:00 and 21:00 UTC in summer, which is why a crontab on a UTC server drifts an hour twice a year.
How do I know if a daily job stopped running?
Plain cron says nothing when a run never happens. A heartbeat monitor does: the job requests a ping URL each time it finishes, and RunLater sends a down alert when the ping is later than the period plus a grace time.
What if a run of 0 9,17 * * * 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 8 hours later. Every attempt is logged with its status code and response body.
Call a URL twice a day (9am and 5pm) without running a server
Paste 0 9,17 * * * 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: Heartbeat monitoring: get alerted when a job stops running.
Next steps: set up a cron job for a URL, pick the right timezone and see how failed runs are retried.