Crontab Parser
Parse cron expressions, preview the next runs and use common presets
Crontab 表达式
格式:分 时 日 月 周(5位),例如 */5 * * * * 表示每5分钟执行一次
常用表达式模板
About this tool
The crontab parser reads Linux schedule expressions and previews when they will run:
- Parsing: enter a five-field cron expression (minute, hour, day of month, month, day of week) and get a plain description
- Next runs: preview the next 10 execution times
- Presets: quick buttons for every minute, every hour, daily at midnight and every Monday
- Syntax: supports
*/N, fixed values, ranges such as1-5and lists such as1,3,5 - Errors: a friendly message when the expression is invalid
Format
The standard form has five fields: minute, hour, day of month, month and day of week
- Minute: 0 to 59
- Hour: 0 to 23
- Day: 1 to 31
- Month: 1 to 12
- Weekday: 0 to 7, where both 0 and 7 mean Sunday
When to use it
- Configure a Linux scheduled task
- Check whether a cron expression is valid
- See when a job will run next
- Learn how scheduling works
Syntax reference
| Syntax | Meaning | Example |
|---|---|---|
| * | Any value | * * * * * every minute |
| */N | Every N units | */5 * * * * every 5 minutes |
| A-B | Range | 0-9 * * * * hours 0 to 9 |
| A,B,C | List | 0,15,30 * * * * minutes 0, 15 and 30 |