While classic Unix cron uses 5 fields, modern cloud providers and Java frameworks have adapted cron syntax with their own extensions and requirements:
Comparing Cron Flavors
| Flavor | Field Count | Order of Fields | Key Quirks |
|---|---|---|---|
| Standard Unix | 5 | Min, Hour, DOM, Month, DOW | No seconds field; 0 and 7 both represent Sunday. |
| Quartz Scheduler | 6 or 7 | Sec, Min, Hour, DOM, Month, DOW, [Year] | Requires ? in either DOM or DOW. Supports L, W, #. |
| AWS EventBridge | 6 | Min, Hour, DOM, Month, DOW, Year | All scheduled in UTC. Requires ? in either DOM or DOW. |
| Jenkins | 5 | Min, Hour, DOM, Month, DOW | Supports H (Hash) for load-balancing job execution times. |