4👍
✅
Try using ExecStart=/home/deploy/projects/my project/project_env/bin/python manage.py run_huey
0👍
In my case I was missing the correct environment, switching to bash solved the issue:
ExecStart=/bin/bash -c 'source /path/to/activate && /path/to/python manage.py run_huey'
- [Django]-Django signals. how to create a unique dispatch id?
- [Django]-How to send a email from a form django
- [Django]-Python can I suppy username and password to os.listdir?
- [Django]-Django scheduled Tasks – Alternative to Cron or Independent Daemon
- [Django]-How do I load image to React from Django REST API?
Source:stackexchange.com