crontab.run

Cron 排程 每個工作日

0 0 * * 1-5
分鐘
小時
日(月)
月
星期

在 12:00 AM, 星期一 到 星期五

接下來 5 次執行

1 
2 
3 
4 
5 

欄位分解

欄位值含義
分鐘0at minute 0
小時0at hour 0:00
日(月)*any value
月*any value
星期1-5from 1 through 5

Crontab 行

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

The expression 0 0 * * 1-5 schedules a cron job to run 每個工作日. This schedule belongs to the "天" category and is a popular choice for daily maintenance routines, backup operations, or recurring tasks tied to specific days of the week.

相關範例