Cron 排程 每半小時
*/30 * * * *
分鐘
小時
日(月)
月
星期
每 30 分鐘
欄位分解
| 欄位 | 值 | 含義 |
|---|---|---|
| 分鐘 | */30 | every 30 minutes |
| 小時 | * | any value |
| 日(月) | * | any value |
| 月 | * | any value |
| 星期 | * | any value |
Crontab 行
*/30 * * * * /path/to/script.shThe expression */30 * * * * schedules a cron job to run 每半小時. 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.