Cron Expression Generator
Visually generate Cron expressions with real-time parsing and execution time preview.
Next 5 execution times:
Second allowed wildcard (*)
From-Second
FromSecond start, everySecond execute once
Common Cron Expression Reference
0 0 10,14,16 * * ?Every day at 10 AM, 2 PM and 4 PM
0 0/30 9-17 * * ?Every half hour during 9-to-5 working hours
0 0 12 ? * 3Every Wednesday at 12 PM
0 0 12 * * ?Every day at 12 PM
0 0 0 * * ?Every day at 00:00
0 */2 * * * ?Every 2 minutes
0 0 */2 * * ?Every 2 hours
*/5 * * * * ?Every 5 seconds
0 0 9 ? * 2-6Weekdays (Mon-Fri) at 9 AM
0 0 0 1 * ?1st of every month at 00:00
0 0 0 1 1 ?January 1st at 00:00 every year
Usage
Expression Format
A Cron expression consists of 6-7 fields, from left to right: second, minute, hour, day, month, week, year (optional). Each field supports wildcards * (any), ? (not specified), - (range), / (step), and , (list)
Day and Week Mutex
Day and Week fields cannot both specify concrete values; one of them must be ?. If you set the Week field, Day should be ?, and vice versa.
How to Use
Configure each field rule via tabs; the expression is generated automatically with a real-time preview of the next 5 execution times. You can also edit the expression directly in the input box and click "Reverse Parse" to populate the config, or click a common reference to quickly fill in a typical expression.