Monday, January 29, 2024

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

Issue

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?

id='dv3'>

Solution

There is no other way than going with two lines

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


Answered By - baao
Answer Checked By - David Marino (WPSolving Volunteer)