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

前端 未结 9 1354
走了就别回头了
走了就别回头了 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:02

    You could do it with two crontab entries. Each runs every three hours and they are offset by 90 minutes something like this:

    0 0,3,6,9,12,15,18,21 * * *

    30 1,4,7,10,13,16,19,22 * * *

提交回复
热议问题