Cron job Every three hours
0 */3 * * *
minute
hour
day (month)
month
day (week)
At 0 minutes past the hour, every 3 hours
Field breakdown
| Field | Value | Meaning |
|---|---|---|
| minute | 0 | at minute 0 |
| hour | */3 | every 3 hours |
| day (month) | * | any value |
| month | * | any value |
| day (week) | * | any value |
Crontab line
0 */3 * * * /path/to/script.shThe expression 0 */3 * * * schedules a cron job to run every three hours. This schedule belongs to the "Hour" category and is frequently used for periodic maintenance tasks, report generation, or batch processing that runs several times throughout the day.