crontab.run

Cron 任务 每3小时

0 */3 * * *
分钟
小时
日(月)
月
星期

在整点后的第 0 分钟, 每隔 3 小时

接下来 5 次运行

1 
2 
3 
4 
5 

字段分解

字段值含义
分钟0at minute 0
小时*/3every 3 hours
日(月)*any value
月*any value
星期*any value

Crontab 行

0 */3 * * * /path/to/script.sh
在生成器中打开 →

The expression 0 */3 * * * schedules a cron job to run 每3小时. 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.

相关示例