I need to set up a cron job that runs every 15 minutes between 8am and 8pm. After googling, I decided to use it this way:
*/15 8-20 * * * /path/of/shellscript.sh
However, the cron is not getting triggered. What should be the right expression?
Edits:
*/15 8-19 * * * /path/of/shellscript.sh
00 20 * * * /path/of/shellscript.sh
The cron executes. However the logs show this error:
Mailed 62 bytes of output but got status 0*0047
However, if I run the run the script manually, it executes fine!