Running a cron job on Linux every six hours

后端 未结 7 681
旧巷少年郎
旧巷少年郎 2020-11-29 19:32

How can I run command every six hours every day?

I tried the following, but it did not work:

/6 * * * * *  mycommand
相关标签:
7条回答
  • 2020-11-29 19:58

    Try:

    0 */6 * * * command
    

    . * has to

    0 讨论(0)
提交回复
热议问题