May-13-2020, 10:22 PM
(This post was last modified: May-13-2020, 10:22 PM by benthomson.)
Hi I have a Python3 script wrapped in a shell script (needs to be for the moment) which executes fine when running from command line, but doesn't execute from crontab.
I have tested touching a file within the wrapper and it is created, so the script is running, but the python call does nothing.
Shell script contains as follows, very basic:
python dvdsrefresh.py ${1}
No errors, no output.
"which python" resolves to: /opt/rh/rh-python36/root/bin/python
I have tested touching a file within the wrapper and it is created, so the script is running, but the python call does nothing.
Shell script contains as follows, very basic:
python dvdsrefresh.py ${1}
No errors, no output.
"which python" resolves to: /opt/rh/rh-python36/root/bin/python