Also the shell script is just a redirection that is not needed,can call the python file directly in crontab.
If you have files in
Make first executable
If you have files in
mkzero
folder i would do it like this,first cd
in then give command. Make first executable
chmod a+x envirophat2.py
*/2 * * * * cd /home/mkzero/shenviro && python3 envirophat2.py >> envirolog.csv 2>&1Depend on system setup(i do not need this) to give absolute path to python3
/usr/bin/python3
.