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