Cron 表达式解析器
解析、验证和解释 Cron 表达式。查看下次计划运行时间。
功能特点
解析表达式
即时理解复杂的 cron 语法
预览计划
查看即将到来的执行时间
验证语法
在部署前发现错误
常用预设
快速访问常用计划
Cron Expression Syntax
| Field | Values | Special Characters |
|---|---|---|
| Minute | 0-59 | * , - / |
| Hour | 0-23 | * , - / |
| Day of Month | 1-31 | * , - / |
| Month | 1-12 | * , - / |
| Day of Week | 0-6 (Sun-Sat) | * , - / |
Special Characters
* (Asterisk)
Matches all values. For example, * in the hour field means "every hour".
, (Comma)
Specifies a list. For example, 1,3,5 in day-of-week means Monday, Wednesday, and Friday.
- (Hyphen)
Specifies a range. For example, 1-5 in day-of-week means Monday through Friday.
/ (Slash)
Specifies increments. For example, */15 in minutes means "every 15 minutes".
常见问题
What is a cron expression?
A cron expression is a string of five fields that define when a scheduled task should run. It's used in Unix-like operating systems and many scheduling systems.
What timezone does cron use?
Standard cron uses the system's local timezone. This tool shows next runs in your browser's timezone. In production, always verify the timezone setting of your cron daemon.
Does this support seconds or years?
This tool supports standard 5-field cron expressions (minute, hour, day of month, month, day of week). Some systems like Quartz use 6-7 fields including seconds and years.