min hour dom mon dow */5 * * * * 手动输入
Cron 是 Linux/Unix 系统中的定时任务调度器。一个 cron 表达式由 5 个空格分隔的字段组成:
| * | 表示所有可能的值,即每(每分钟/每小时/每天) |
| , | 列举多个值,如 1,3,5 表示第1、3、5分钟 |
| - | 表示一个范围,如 1-5 表示周一到周五 |
| / | 表示步长,如 */5 表示每5(分钟/小时/天) |
* * * * * | 每分钟执行 |
*/5 * * * * | 每5分钟执行 |
0 * * * * | 每小时整点执行 |
30 8 * * * | 每天早上8:30执行 |
0 0 * * 1 | 每周一凌晨0点执行 |
0 9 * * 1-5 | 每个工作日早上9点执行 |
0 0 1 * * | 每月1日凌晨0点执行 |
*/15 9-18 * * * | 工作时间每15分钟执行 |
Visual cron expression generator with human-readable descriptions
Runs locally · Nothing uploaded
Our online Cron expression generator provides an intuitive visual editing interface to help you quickly create Linux crontab scheduled task expressions. With field-by-field editing, quick templates, and real-time description preview, even users unfamiliar with Cron syntax can easily set up scheduled tasks. Preview upcoming execution times to ensure accuracy.
A standard Cron expression consists of 5 fields: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-7, where both 0 and 7 represent Sunday). Each field supports numbers, comma-separated values, hyphen ranges, and the asterisk wildcard.
A common cause is conflicting day-of-month and day-of-week fields. When both are specified, Cron triggers on dates that match either condition (union). It is recommended to set only one of these fields and leave the other as an asterisk (*).
Yes. The expressions generated by this tool use standard Linux crontab format, fully compatible with Docker, Kubernetes, Jenkins, and other mainstream scheduling systems.