eboi
eboi

Reputation: 141

CronJob starting from 9: 30 AM to 12: 30AM

How to run a cronjob starting from 9 AM to 12AM, since cron starts from 0-23, not 23-0.

What is the proper procedure?

Upvotes: 1

Views: 126

Answers (1)

Shihab Abrar Hossain
Shihab Abrar Hossain

Reputation: 251

You do need to use two cronjobs for that since cronjob Hour value starts from 0-23

// CronJob Calling From 9:30 AM to 12:30 AM

0-30 9-23 * * *
0-30 0 * * *


Upvotes: 1

Related Questions