Note that it didn't work with source
source
cd /home/my/project && /home/my/virtual/bin/python /home/my/project/manage.py > /tmp/cronlog.txt 2>&1 The last /tmp/cronlog.txt 2> & 1 is the error log spit
cd /home/my/project && /home/my/virtual/bin/python /home/my/project/manage.py > /tmp/cronlog.txt 2>&1
/tmp/cronlog.txt 2> & 1
cf.
Recommended Posts