Test a cron expression
See what it means and when it runs next, in your time zone.
Every hour from 09:30 to 17:30 on Monday through Friday
30
minute
9-17
hour
*
day
*
month
1-5
weekday
Next runs (UTC)
- Thu 3 Dec, 09:30
- Thu 3 Dec, 10:30
- Thu 3 Dec, 11:30
- Thu 3 Dec, 12:30
- Thu 3 Dec, 13:30
- Thu 3 Dec, 14:30
- Thu 3 Dec, 15:30
- Thu 3 Dec, 16:30
- Thu 3 Dec, 17:30
- Fri 4 Dec, 09:30
Know when it doesn't run
CronDrive emails you, or posts to Slack, when a job with this schedule fails, or doesn't start or finish on time. Free for up to 15 jobs.
What you'd see with this schedule
An example with the last runs of this schedule and made-up results: one failed and one didn't run.
Times in UTC.
| Due | Started | Finished | Took | Status |
|---|---|---|---|---|
| Wednesday 2 December 2026 | ||||
| 16:30 | 16:30 | 16:43 | 13 min | On time Started 16:30, finished 16:43, took 13 min. |
| 15:30 | Didn't run Alerts sent at 15:35 and 16:00. | |||
| 14:30 | 14:30 | 14:44 | 14 min | On time Started 14:30, finished 14:44, took 14 min. |
| 13:30 | 13:30 | 13:34 | 4 min | Failed with code 1 Alert sent at 13:34. Started 13:30, finished 13:34, took 4 min. |
| 12:30 | 12:30 | 12:43 | 13 min | On time Started 12:30, finished 12:43, took 13 min. |
| 11:30 | 11:30 | 11:44 | 14 min | On time Started 11:30, finished 11:44, took 14 min. |
The alert of the failed run
Email from CronDrive, Wed 2 Dec, 13:34
Failed (exit code 1): "Your job"
The job "Your job" failed with exit code 1.
If you connect Slack, the same message goes to your channel.
The change in your crontab
30 9-17 * * 1-5 curl -fsS -m 10 https://job.crondrive.com/uG2Exw/start/$$; /path/to/job.sh; curl -fsS -m 10 https://job.crondrive.com/uG2Exw/end/$?/$$
Two calls around your command, in the same line. Your job's line comes with its own token.
Or let your AI agent set up all the cron jobs on your server:
Paste this in Claude Code, Cursor, Codex or your AI agent:
Set up CronDrive to monitor the cron jobs on this server. Follow the instructions at https://crondrive.com/docs/agents
Format
Cron is driven by a crontab (cron table) file, a configuration file that specifies shell commands to run periodically on a given schedule. On Linux you can run crontab -e to edit it.
Each line has a cron expression made of five fields, followed by a shell command to execute. A * means every value; 1,5 is a list, 1-5 a range and */5 a step.
*
minute
0-59
*
hour
0-23
*
day
1-31
*
month
1-12
*
weekday
0-6, Sunday is 0
Examples
| Expression | Description |
|---|---|
| * * * * * | Every minute |
| */2 * * * * | Every 2 minutes |
| */3 * * * * | Every 3 minutes |
| */5 * * * * | Every 5 minutes |
| */10 * * * * | Every 10 minutes |
| */15 * * * * | Every 15 minutes |
| */20 * * * * | Every 20 minutes |
| */30 * * * * | Every 30 minutes |
| 0 * * * * | Every hour |
| 0 * * * 1-5 | Every hour on Monday through Friday |
| 0 */2 * * * | Every 2 hours |
| 0 */3 * * * | Every 3 hours |
| 0 */4 * * * | Every 4 hours |
| 0 */6 * * * | Every 6 hours |
| 0 */8 * * * | Every 8 hours |
| 0 */12 * * * | Every 12 hours |
| 0 0 * * * | Every day at 00:00 |
| 0 1 * * * | Every day at 01:00 |
| 0 2 * * * | Every day at 02:00 |
| 0 3 * * * | Every day at 03:00 |
| 0 4 * * * | Every day at 04:00 |
| 0 5 * * * | Every day at 05:00 |
| 0 6 * * * | Every day at 06:00 |
| 0 8 * * * | Every day at 08:00 |
| 0 12 * * * | Every day at 12:00 |
| 0 8 * * 1-5 | At 08:00 on Monday through Friday |
| 0 0 * * 1 | At 00:00 on Monday |
| 0 0 * * 0 | At 00:00 on Sunday |
| 0 0 */5 * * | At 00:00 every 5 days |
| 0 0 1 * * | At 00:00 on day 1 of the month |
| 0 * * * * ? | Every minute (Quartz and Spring) |
| 0 0/2 * * * ? | Every 2 minutes (Quartz and Spring) |
| 0 0/5 * * * ? | Every 5 minutes (Quartz and Spring) |
| 0 0 0 * * ? | Every day at 00:00 (Quartz and Spring) |
| 0 0 1 * * ? | Every day at 01:00 (Quartz and Spring) |
| 0 0 2 * * ? | Every day at 02:00 (Quartz and Spring) |
| 0 0 5 * * ? | Every day at 05:00 (Quartz and Spring) |
| 1,5 * * * * | At minutes 1 and 5 of every hour |
| 1-5 * * * * | At minutes 1 through 5 of every hour |
| 0 1 * * 1,2 | At 01:00 on Monday and Tuesday |
| 30 9-17 * * 1-5 | Every hour from 09:30 to 17:30 on Monday through Friday |