crontab.run

Cron 排程 每奇數小時

0 1-23/2 * * *
分鐘
小時
日(月)
月
星期

在整點後的 0 分, 每 2 小時, 在 01:00 AM 和 11:00 PM 之間

接下來 5 次執行

1 
2 
3 
4 
5 

欄位分解

欄位值含義
分鐘0at minute 0
小時1-23/2every 2 from 1-23
日(月)*any value
月*any value
星期*any value

Crontab 行

0 1-23/2 * * * /path/to/script.sh
在產生器中開啟 →

The expression 0 1-23/2 * * * 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.

相關範例