I have exactly the same problem : https://askubuntu.com/a/117989/1012849
What i don't understand it's how to specify path of SHELL=/bin/sh Because i can't move my script from :
/home/ubuntu/folder/monitoring.sh
do I have to specify the path on my script or on the crontab? and how can I retrieve the path?
there's the content of my crontab :
*/1 7-19 * * * /home/ubuntu/folder/monitoring.sh
Content of monitoring.sh
#!/bin/bash
touch testcronsh.txt
python monitoring.py
Actually when i try to execute my script via crontab i have that error :
/bin/sh: 1: root: not found