I have a problem with regards to crontab. I have a script named checker.sh and I want to schedule it so that would run every minute:
* * * * * sh /home/pi/checker.sh
I have the script here:
The concept of this script came from here: Linux Script to check if process is running & act on the result
The problem is: whenever I end the python process to check if
checker.sh can run the python script, it does not work. I don't know where the problem is. I tried to change the path name of python to /usr/bin/python on the
checker.sh script itself but still it does not work.
I hope someone can solve this.