Cron 表达式生成器 在线工具

Free 免费 · 无需注册 · 数据不上传 Build · Validate · Explain
Expression
* * * * *
Every minute
Common Presets
Next 10 Run Times

更多开发工具

正则表达式
Live test regex
时间戳
Unix ↔ Date
URL 编码
Percent-encoding
YAML 格式化
Format & validate
TOML 格式化
Format & validate
JSON→YAML
To YAML config
计算器
Standard/Scientific
JSON 格式化
Format, validate & minify

为什么这是最好的 Cron 表达式生成器

可视化构建器

Select each field visually — choose Every, Specific values, a Range, or a Step interval. The expression updates in real time as you configure each part of the schedule.

自然语言说明

Every cron expression is automatically translated into a human-readable description. No more guessing what 0 */6 * * * means — you'll see "Every 6 hours" instantly.

下次运行预览

See the next 10 scheduled run times based on the current moment in your local timezone. Verify your schedule fires at the exact times you expect before deploying.

5 & 6 字段

Standard Unix cron uses 5 fields (minute hour day month weekday). Extended cron (Spring, Quartz, AWS EventBridge) adds a seconds field. Toggle between formats with one click.

常见问题

What is a cron expression?

A cron expression is a string of 5 (or 6) space-separated fields that defines a recurring schedule. The fields are minute, hour, day-of-month, month, and day-of-week. For example, 0 9 * * 1-5 means "at 9:00 AM every weekday".

What does * mean in cron?

An asterisk (*) in a cron field is a wildcard meaning "every valid value". * in the minute field means "every minute", and * in the hour field means "every hour".

What does */ mean in cron?

The */n syntax means "every n units". */15 in the minute field fires at 0, 15, 30, and 45. */2 in the hour field fires every 2 hours starting at midnight.

How do I run a cron job every day at midnight?

Use 0 0 * * *. This means minute 0, hour 0, every day. Many systems also accept the shorthand @daily or @midnight.

What is the difference between 5-field and 6-field cron?

Standard Unix cron has 5 fields: minute hour day month weekday. Some systems (Spring, Quartz, AWS EventBridge) extend this to 6 fields by adding a seconds field at the start, enabling sub-minute scheduling.

深度指南
开发者必备工具指南
正则、Cron、时间戳、URL 等
阅读指南