crontab.run

Cron 任务 每隔一个月

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

在上午 12:00, 限每月 1 号, 每隔 2 个月

接下来 5 次运行

1 
2 
3 
4 
5 

字段分解

字段值含义
分钟0at minute 0
小时0at hour 0:00
日(月)1on day 1 of the month
月*/2every 2 units
星期*any value

Crontab 行

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

The expression 0 0 1 */2 * schedules a cron job to run 每隔一个月. This is a commonly referenced cron schedule used for periodic tasks such as maintenance, cleanup, reporting, or automated workflows that run on a regular cadence.

相关示例