How to write a cron schedule to execute in every 5 mins between 7 am to 12 min-night ?
Try this.
*/5 7-23 * * *
This should work!!
This may help:
5 0-1,7-23 * * *
This runs only at 5 minutes past the hour from 7 to midnight ; not every 5 minutes