Skip to main content
Grammatical changes for clarity
Source Link
Jeff Schaller
  • 68.9k
  • 35
  • 122
  • 268

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 

So I have the script here: screenshot

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. Thanks in advance!

I have a problem with regards to crontab. I have a script named checker.sh and I want to schedule it that would run every minute:

* * * * * sh /home/pi/checker.sh 

So I have the script here: screenshot

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. Thanks in advance!

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: screenshot

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.

about About executing a python program in a shell script which is scheduled on crontab

iI have a problem with regards onto crontab. I have a script named checker.sh and iI want to schedule it that would run every minute:

* * * * * sh /home/pi/checker.sh 

so iSo I have the script here: screenshot

theThe concept of this script came from here: Linux Script to check if process is running & act on the result

theThe problem is: whenever I end the python process to check if checker.shchecker.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.shchecker.sh script itself but still it does not work.

I hope someone can solve this. thanksThanks in advance!

about executing a python program in a shell script which is scheduled on crontab

i have a problem with regards on crontab. I have a script named checker.sh and i want to schedule it that would run every minute:

* * * * * sh /home/pi/checker.sh 

so i have the script here: screenshot

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 itself but still it does not work.

I hope someone can solve this. thanks in advance!

About executing a python program in a shell script which is scheduled on crontab

I have a problem with regards to crontab. I have a script named checker.sh and I want to schedule it that would run every minute:

* * * * * sh /home/pi/checker.sh 

So I have the script here: screenshot

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. Thanks in advance!

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

i have a problem with regards on crontab. I have a script named checker.sh and i want to schedule it that would run every minute:

* * * * * sh /home/pi/checker.sh 

so i have the script here: screenshot

the concept of this script came from here: Linux Script to check if process is running & act on the resultLinux 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 itself but still it does not work.

I hope someone can solve this. thanks in advance!

i have a problem with regards on crontab. I have a script named checker.sh and i want to schedule it that would run every minute:

* * * * * sh /home/pi/checker.sh 

so i have the script here: screenshot

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 itself but still it does not work.

I hope someone can solve this. thanks in advance!

i have a problem with regards on crontab. I have a script named checker.sh and i want to schedule it that would run every minute:

* * * * * sh /home/pi/checker.sh 

so i have the script here: screenshot

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 itself but still it does not work.

I hope someone can solve this. thanks in advance!

formating
Source Link
hildred
  • 5.9k
  • 3
  • 33
  • 43
Loading
Source Link
Loading