I installed a python package which running in shell, like:
$python-package -input 1
I create a run.sh
file to run it as follow
python-package -input 1
(Here, python-package
represents my installed python package.)
I can run this run.sh
file correctly in the shell, but if I run it by crontab -e
0 0 * * * /data/project/run.sh
An error raises,
/data/project/run.sh: line 1: python-package: command not found