Reputation: 141
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
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