Cronjob: Command Not Found
问题 I have a cronjob that is the following: */10 * * * * root cd /some/directory && python3 FILE.py >> Output.txt 2>&1 if i run that command from a regular command line, it works fine. But when ran from cronjob, I get /bin/sh: python3: not found But when I run echo $PATH it returns /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/usr/local/python3/bin:/opt/bin (Note that /usr/local/python3/bin is included in this directory How do I fix this? 回答1: It seems