Write, validate, and understand cron expressions with next-run previews
*/5 0-30
9 8-17
1 15
1,6 */3
1-5 0,6
Expression
0 9 * * 1-5
Plain English
—
Next 10 run times (local time)
Enter a 5-field cron expression. The builder immediately:
Use the presets to start from a known schedule and modify from there.
┌─ minute (0–59)
│ ┌─ hour (0–23)
│ │ ┌─ day (1–31)
│ │ │ ┌─ month (1–12 or JAN–DEC)
│ │ │ │ ┌─ weekday (0–7, 0 and 7 = Sunday, or SUN–SAT)
│ │ │ │ │
* * * * *
| Syntax | Meaning |
|---|---|
* | Every value |
*/n | Every nth value |
a-b | Range from a to b |
a,b,c | Specific values |
a-b/n | Range with step |
| Expression | Meaning |
|---|---|
* * * * * | Every minute |
0 * * * * | Every hour (on the hour) |
0 9 * * 1-5 | 9:00 AM Monday–Friday |
30 8 1 * * | 8:30 AM on the 1st of every month |
0 0 * * 0 | Midnight every Sunday |
*/15 * * * * | Every 15 minutes |
Paste any crontab expression in the builder above and it will parse it instantly. But here are more complex real-world expressions explained:
| Expression | What it means | Use case |
|---|---|---|
0 2 * * 0 | 2:00 AM every Sunday | Weekly backup |
*/15 9-17 * * 1-5 | Every 15 min, 9am–5pm, Mon–Fri | Business-hours polling |
0 0 1,15 * * | Midnight on 1st and 15th of each month | Bi-monthly billing |
30 23 * * 1-5 | 11:30 PM Mon–Fri | Nightly report |
@reboot | On system boot (not supported by this builder — standard cron only) | Startup tasks |
0 */6 * * * | Every 6 hours | Cache refresh |
When an expression behaves unexpectedly:
0 0 1 * 1 fires on the 1st of the month OR every Monday.Cloudflare uses a slightly different format — 6 fields with seconds first. But you can test the 5-field logic here and convert:
# Standard cron (5 fields) → CF Workers (6 fields with second=0)
0 * * * * → 0 0 * * * *
*/5 * * * * → 0 */5 * * * *
For informational purposes only. Not financial, medical, or legal advice. You are solely responsible for how you use these tools.