Bob Chesley

Bob Chesley's Blog

Example CRON Schedule

Bob Chesley,unixlinuxcron

The cron schedule for running a task every 30 minutes between 8 am and 6 pm from Monday to Friday would be:

*/30 8-18 * * 1-5

Breaking it down:

So, the cron schedule reads as "Every 30 minutes, between 8 am and 6 pm, from Monday to Friday."