CronExplain · cron recipes
Cron expression for every 2 hours
The cron expression for every 2 hours is 0 */2 * * *.
In plain English: at minute 0 of hours 0,2,4,6,8,10,12,14,16,18,20,22.
Field by field
| Field | Value | Means |
|---|---|---|
| minute | 0 | 0 |
| hour | */2 | 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22 |
| day | * | every day of the month |
| month | * | every month |
| weekday | * | every day of the week, weekends included |
Times it fires
Server local time, on every day the schedule matches.
00:00 · 02:00 · 04:00 · 06:00 · 08:00 · 10:00 · 12:00 · 14:00 · 16:00 · 18:00 · 20:00 · 22:00
Check your own expression
Paste any cron line and see what it means, the next ten times it fires, and the same breakdown in your timezone.
Open CronExplainOther schedules
- cron for every minute * * * * *
- cron for every 2 minutes */2 * * * *
- cron for every 5 minutes */5 * * * *
- cron for every 10 minutes */10 * * * *
- cron for every 15 minutes */15 * * * *
- cron for every 30 minutes */30 * * * *
- cron for every hour 0 * * * *
- cron for every 3 hours 0 */3 * * *