linuxcroncronexpression

CRON schedule string to start on an hour and end on a half hour


Need to schedule a job every 3 minutes from 8AM until 3:30PM. I understand how to do it from 8AM until 3PM. How to get it to continue unto 3:30PM?


Solution

  • There is no other way than going with two lines

    */3 8-14 * * * command
    0-30/3 15 * * * command