Cron Expression Generator
Build and inspect Unix/Cronie five-field cron expressions. Explain syntax, normalize month and weekday names, and preview up to five matching UTC run times.
Generate & inspect only — no job is scheduled or executed. Next-run preview uses UTC and Unix/Cronie 5-field semantics.
Next matching run times · UTC
Cron Expression Generator
Build and inspect Unix/Cronie five-field cron expressions. Explain syntax, normalize month and weekday names, and preview up to five matching UTC run times.
How to use
- Choose a preset, edit the five-field expression, or use Every, Step, Range and Specific list controls.
- Review field-level validation and the natural-language explanation. JAN–DEC and SUN–SAT names normalize to numbers; Sunday is 0 or 7. Steps restart within each field.
- Inspect up to five UTC matches within the next five years. Copy the expression or explanation to configure your own scheduler separately.
Frequently asked questions
Does it run my job?
No. This page only generates and inspects expressions. It does not schedule or execute jobs.
Does it support Quartz or AWS?
No. Only Unix/Cronie five-field expressions are supported. Six or seven fields, ?, L, W, #, @reboot and other extended syntax are rejected.
What if day-of-month and weekday are both set?
When neither day field begins with a wildcard (*), Unix/Cronie uses OR: either day-of-month or weekday can match. If either day field begins with *, including */n, both expanded day fields must match. List order is preserved: 1,*/2 and */2,1 can differ when weekday is restricted.
Which time zone is used?
The preview is calculated in UTC and searches at most five years ahead. Local times are read-only comparisons. It does not infer your server time zone or apply that server’s daylight saving rules.
Cron 表达式生成器
构建和检查 Unix/Cronie 五字段 Cron 表达式,解释语法,规范化英文月份与星期名,预览最多五次 UTC 触发时间。
使用步骤
- 选择预设、编辑五字段表达式,或使用每次、步长、范围、指定列表构建器。
- 核对字段级校验和自然语言解释。JAN 至 DEC、SUN 至 SAT 会规范化为数字,0 或 7 代表周日,步长在各字段内重新起算。
- 检查未来五年内最多五次 UTC 匹配,复制表达式或解释后,自行配置真实调度器。
常见问题
会执行我的任务吗?
不会。本页仅生成与检查表达式,不会调度或执行任务。
支持 Quartz 或 AWS 吗?
不支持。首版仅支持 Unix/Cronie 五字段表达式,拒绝六七字段、?、L、W、#、@reboot 等扩展语法。
日期和星期都设置时怎样匹配?
当两个日期字段均不以通配符 * 开头时,Unix/Cronie 采用 OR,日期或星期任意一项匹配即可。若任一日期字段以 * 开头(包括 */n),两个字段展开后须同时匹配。保留列表顺序,星期受限时 1,*/2 与 */2,1 可能不同。
采用哪个时区?
预览按 UTC 计算,最多向后搜索五年。本机时间仅供只读对照,不推断服务器时区,也不应用该服务器的夏令时规则。
Related tools
Standard 5-Field Cron Syntax Reference
| Expression | Schedule Meaning | Common Use |
|---|---|---|
*/15 * * * * | Every 15 minutes | Health checks, sync jobs |
0 2 * * * | Daily at 02:00 | Nightly database backups |
0 9 * * 1-5 | Weekdays at 09:00 | Workday digest reports |
0 0 1 * * | 1st of every month at 00:00 | Monthly log rotation & billing |
Always preview exact upcoming fire dates before deploying to production using our Cron Next 10 Runs Simulator—especially around UTC vs local timezone differences.
Frequently Asked Questions
- What timezone do GitHub Actions and Kubernetes CronJobs use?
- GitHub Actions schedules always run in UTC; Kubernetes CronJobs default to the controller timezone unless spec.timeZone is set explicitly.
- Does day-of-week 0 or 7 mean Sunday?
- In standard Vixie cron, both 0 and 7 represent Sunday, and 1 through 6 represent Monday through Saturday.
- Why did my 2:30 AM local cron skip or run twice?
- Daylight Saving Time spring-forward and fall-back transitions affect local-time crons; run critical server jobs in UTC to avoid DST surprises.