Cron 排程 每12小時
0 */12 * * *
分鐘
小時
日(月)
月
星期
在整點後的 0 分, 每 12 小時
欄位分解
| 欄位 | 值 | 含義 |
|---|---|---|
| 分鐘 | 0 | at minute 0 |
| 小時 | */12 | every 12 hours |
| 日(月) | * | any value |
| 月 | * | any value |
| 星期 | * | any value |
Crontab 行
0 */12 * * * /path/to/script.shThe expression 0 */12 * * * schedules a cron job to run 每12小時. 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.