Cron 排程 每6個月
0 0 1 */6 *
分鐘
小時
日(月)
月
星期
在 12:00 AM, 每月的 1 號, 每 6 月
欄位分解
| 欄位 | 值 | 含義 |
|---|---|---|
| 分鐘 | 0 | at minute 0 |
| 小時 | 0 | at hour 0:00 |
| 日(月) | 1 | on day 1 of the month |
| 月 | */6 | every 6 units |
| 星期 | * | any value |
Crontab 行
0 0 1 */6 * /path/to/script.shThe expression 0 0 1 */6 * schedules a cron job to run 每6個月. 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.