Herr Bischoff


How to Run a Cronjob for a Python Script in a virtualenv

File this under “kind of obvious if you think about it but I wouldn’t have tried this on my own”.

30 * * * * cd /home/user/project && venv/bin/python script.py