How can I set cron to run certain commands every one and a half hours?

前端 未结 9 1407
走了就别回头了
走了就别回头了 2020-11-27 18:42

How can I set cron to run certain commands every one and a half hours?

9条回答
  •  被撕碎了的回忆
    2020-11-27 19:10

    Two lines in the crontab. Along the lines of:

    0 0,3,6,9,12,15,18,21 * * * /usr/bin/foo
    30 1,4,7,10,13,16,19,22 * * * /usr/bin/foo
    

提交回复
热议问题