I need run a job every 15 minutes from 11 PM to 2 AM. I am using below range but its not working.
*/15 23,00-02 * * *
cron is ignoring the 23 and is running the job from 12AM ie 00.
Its in RedHat Enterprise Linux and its accepting ranges.
I need run a job every 15 minutes from 11 PM to 2 AM. I am using below range but its not working.
*/15 23,00-02 * * *
cron is ignoring the 23 and is running the job from 12AM ie 00.
Its in RedHat Enterprise Linux and its accepting ranges.
00-02,23
(or even00,01,23
, as you don't want it running after 2am) – JigglyNaga Sep 26 '18 at 14:52