I donβt think you can do this with one rule, so you will need to use three, for example:
0 00-10 * * * /path/to/cron/job 0,15,30,45 11-18 * * * /path/to/cron/job 0 19-23 * * * /path/to/cron/job
The first rule is processed from 00:00 to 10:00, the second from 11:00 to 18:45 and from 19:00 to 23:00 to complete the set.
Obviously, you can adjust the offsets within an hour, when everything will be done by changing the values ββin the first column.
source share