darth
Recommended approach for django-crontab on railway
I'm using the django-crontab package to schedule a daily job that works fine when run locally, but I haven't been able to figure out how to get it working on Railway.
I've tried updating my Procfile as shown below, but haven't had any luck. What's the recommended approach to scheduling a job on Railway to interact with a Django app?
web: python manage.py crontab add && python manage.py migrate && python manage.py collectstatic --noinput --clear && gunicorn django_project.wsgi
Project ID for reference: 3eeb1796-c531-4b55-9016-db32a2502d61103 replies