Cron 排程 每個工作日上午9點
0 9 * * 1-5
分鐘
小時
日(月)
月
星期
在 09:00 AM, 星期一 到 星期五
欄位分解
| 欄位 | 值 | 含義 |
|---|---|---|
| 分鐘 | 0 | at minute 0 |
| 小時 | 9 | at hour 9:00 |
| 日(月) | * | any value |
| 月 | * | any value |
| 星期 | 1-5 | from 1 through 5 |
Crontab 行
0 9 * * 1-5 /path/to/script.shThe expression 0 9 * * 1-5 schedules a cron job to run 每個工作日上午9點. This is a commonly referenced cron schedule used for periodic tasks such as maintenance, cleanup, reporting, or automated workflows that run on a regular cadence.