Type any cron expression below to see what it means. Click any example to try it.
Click any expression to load it into the tester above.
A cron expression has five fields separated by spaces. Each field controls when the job runs.
| Field | Values | Description |
|---|---|---|
| Minute | 0-59 | Minute of the hour |
| Hour | 0-23 | Hour of the day (24h) |
| Day of Month | 1-31 | Day of the month |
| Month | 1-12 | Month of the year |
| Day of Week | 0-6 | 0 = Sunday, 6 = Saturday |
| * | Any value | Matches every possible value for that field |
| , | List | Specify multiple values: 1,3,5 |
| - | Range | Specify a range: 1-5 (Monday through Friday) |
| / | Step | Specify intervals: */5 (every 5 units) |
All times are in the timezone of your server. Most cloud servers use UTC.
When both day-of-month and day-of-week are set (not *), the job runs when either matches — not both. This is a common source of confusion.
Test expressions before deploying. A misconfigured cron job either runs too often (flooding your logs) or never runs at all.
Once your cron expression is right, make sure it keeps running.
Monitor with CronPulse →