Cron Expression
Dev Tools* * * * *
Presets:
Fields
Minute
0-59
Hour
0-23
Day of Month
1-31
Month
1-12
Day of Week
0-6
Next 10 Executions
- 12026/8/13 10:17:00
- 22026/8/13 10:18:00
- 32026/8/13 10:19:00
- 42026/8/13 10:20:00
- 52026/8/13 10:21:00
- 62026/8/13 10:22:00
- 72026/8/13 10:23:00
- 82026/8/13 10:24:00
- 92026/8/13 10:25:00
- 102026/8/13 10:26:00
Cron Format Comparison
| Format | Fields | Structure | Example | Use Cases | Platforms / Tools |
|---|---|---|---|---|---|
| Standard (5-field) | 5 | minute hour day month weekday | 30 2 * * 1-5 | Linux/Unix system scheduled tasks (crontab), simple periodic tasks such as daily backups, log cleanup, timed scripts | Linux crontab, macOS launchd, AWS CloudWatch Events, GitHub Actions (schedule), most CI/CD platforms |
| With Seconds (6-field) | 6 | second minute hour day month weekday | */5 * * * * * | Sub-minute precision tasks such as heartbeat detection, real-time data sync, high-frequency polling, microservice health checks | Spring @Scheduled (non-Quartz mode), Node.js node-cron, Kubernetes CronJob (extended), Systemd Timer |
| Quartz (7-field) | 7 | second minute hour day month weekday year | 0 0 9 ? * 2-6 2026 | Enterprise-level scheduled tasks requiring year control, complex business rules (e.g., second Monday of each month), year-specific one-time tasks | Java Quartz Scheduler, Spring Quartz integration, XXL-JOB, ElasticJob, Apache Airflow (plugin) |