darth
Recommended approach for django-crontab on railway
Circling back on this in case it helps others, but ultimately I ended up doing the following:
1. Moved the function into a custom django admin command
2. Create a duplicated version of the django service in Railway
3. Set the "Cron Schedule" inside the service settings with a 'Custom Start Command' that executes the custom django admin command
103 replies
Recommended approach for django-crontab on railway
Gmail. The config works locally though, so the only difference would be in how the app accesses the variables inside Railway. However, the app has no problems accessing the database variables set in Railway 🤷♂️
103 replies