crontab.run

Cron 任务 每偶数分钟

*/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 每偶数分钟. 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.

相关示例