Can I schedule job in cron format so that it runs every 30 minutes from 6:30 am to 11:30, every day? How?
Asked
Active
Viewed 5,750 times
2 Answers
4
I think you will need 2 lines to achieve what you need:
30 6-11 * * * /path/to/your/command
0 7-11 * * * /path/to/your/command

Alvin
- 10,308
- 8
- 37
- 49
0
In addition to Alvin's answer I would suggest to insert this line into your crontab:
*/30 6-11 * * * /path/to/your/command

bmk
- 13,849
- 5
- 37
- 46