Have cron run Python under pyvenv

Note that it didn't work with 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

cf.

Recommended Posts

Have cron run Python under pyvenv
Run Python with VBA
Run prepDE.py with python3
Run Blender with python
Cloud Run tutorial (python)
Run iperf with python
Run Openpose on Python (Windows)
Manage cron jobs with python
Run python with PyCharm (Windows)
Run Python with CloudFlash (arm926ej-s)
Run automatic jobs in python
Let's run Excel with Python
Run shell commands in python
Run Python unittests in parallel
Run illustrator script from python
Run Tensorflow 2.x on Python 3.7
Run Python CGI on CORESERVER
Run unix command on python
How to run Notepad ++ Python
Run Label with tkinter [Python]
Python environment construction under Windows7 environment
Run DHT22 with RasPi + Python