Cron 排程 每奇數分鐘
1-59/2 * * * *
分鐘
小時
日(月)
月
星期
每 2 分鐘, 在整點後的 1 到 59 分鐘
欄位分解
| 欄位 | 值 | 含義 |
|---|---|---|
| 分鐘 | 1-59/2 | every 2 from 1-59 |
| 小時 | * | any value |
| 日(月) | * | any value |
| 月 | * | any value |
| 星期 | * | any value |
Crontab 行
1-59/2 * * * * /path/to/script.shThe expression 1-59/2 * * * * schedules a cron job to run 每奇數分鐘. This schedule belongs to the "分鐘" category and is commonly used for high-frequency monitoring, health checks, or data synchronization tasks that need to run multiple times per hour.