crontab run every 15 minutes between certain hours

前端 未结 2 887
攒了一身酷
攒了一身酷 2020-12-08 06:22

Is this correct scheduled to run between 07:00 and 19:00 at every 15 minutes?

*/15    07-19        *     * *     /path/script
2条回答
  •  暖寄归人
    2020-12-08 07:16

    Yes, that's correct.

    The entry in crontab would should be:

    */15 7-19 * * * /path/script >/dev/null 2>&1
    

提交回复
热议问题