crontab.run

Cron 排程 每2分鐘

*/2 * * * *
分鐘
小時
日(月)
月
星期

每 2 分鐘

接下來 5 次執行

1 
2 
3 
4 
5 

欄位分解

欄位值含義
分鐘*/2every 2 minutes
小時*any value
日(月)*any value
月*any value
星期*any value

Crontab 行

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

The expression */2 * * * * schedules a cron job to run 每2分鐘. 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.

相關範例