CronExplain · cron recipes
Cron expression for every other day
The cron expression for every other day is 0 0 */2 * *.
In plain English: at 00:00 on day(s) 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31 of month.
*/2 on day-of-month restarts each month, so a 31-day month is followed by two runs a day apart at the boundary.
Field by field
| Field | Value | Means |
|---|---|---|
| minute | 0 | 0 |
| hour | 0 | 0 |
| day | */2 | 16 values from 1 to 31 |
| 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
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 2 hours 0 */2 * * *