Every 2 hours
0 */2 * * *
The job is due at minute 0 of every second hour, counting from hour 0. The hours are 00:00, 02:00, 04:00, and so on through 22:00. That is 12 times a day. From 14:07 the next runs are 16:00, 18:00, and 20:00, in the timezone on the check. */2 steps through the hour field from 0. A late start at 15:10 does not move the next slot to 17:10. */2 * * * * is every 2 minutes, which is a different schedule. Two hours is longer than Free's 5-minute minimum, so this schedule fits Free.
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0. Not throughout the hour. |
| Hour | */2 | Hours 0, 2, 4, through 22. The step starts at 0. |
| Day of month | * | Every date. |
| Month | * | Every month. |
| Day of week | * | Including weekends. |
* */2 * * * is every minute during hours 0, 2, 4, and so on. From 14:07 that expression's next run is 14:08, because 14 is one of those hours. 0 * */2 * * steps the day of the month, not the hour. Default grace is 5 minutes, so a missed 02:00 alerts at 02:05, not at 04:00. The form also offers none, 1 minute, 15 minutes, and 1 hour. A run that is still going at the next even hour is an overlap in the job, not a second schedule. The check alerts once for the miss, then once when a ping returns.
Related: Prevent overlapping cron jobs