Cron ジョブ 1時間おき
0 */2 * * *
分
時
日(月)
月
曜日
毎時 0 分過ぎ, 2 時間ごと
フィールド分析
| フィールド | 値 | 意味 |
|---|---|---|
| 分 | 0 | at minute 0 |
| 時 | */2 | every 2 hours |
| 日(月) | * | any value |
| 月 | * | any value |
| 曜日 | * | any value |
Crontab 行
0 */2 * * * /path/to/script.shThe expression 0 */2 * * * schedules a cron job to run 1時間おき. This schedule belongs to the "時" category and is frequently used for periodic maintenance tasks, report generation, or batch processing that runs several times throughout the day.