Solved!
Placed on the first line on each *.py files:
#!/usr/local/bin/python
Thanks!
Type: Posts; User: xenazfire; Keyword(s):
Solved!
Placed on the first line on each *.py files:
#!/usr/local/bin/python
Thanks!
UPDATE:
Copied the python files to
/usr/local/bin/
run
nohup ./phew.sh &
and it outputs
from: can't read /var/mail/random
EDIT:
Refer to post #4
#!/usr/local/bin/python
until phew.py; do
echo "'phew.py' crashed with exit code $?. Restarting..." >&2
sleep 1
done
File "./phew.sh", line 2
until phew.py; do
...