R
Railway8mo ago
Girish

Need help in running a python command periodically

New to development, I want help running a command in the project location using the railway cron scheduler.
35 Replies
Percy
Percy8mo ago
Project ID: N/A
Percy
Percy8mo ago
Project ID: N/A
Girish
Girish8mo ago
N/A
Brody
Brody8mo ago
what command do you want to run periodically?
Girish
Girish8mo ago
we discussed this before I guess Brody , i think it was you. I want to run this python manage.py send_maturity_emails. in the root folder of my project where i have my manage.py
Brody
Brody8mo ago
i didnt help you solve it already?
Girish
Girish8mo ago
The opther day you gave a few solutions , but i couldnt make it work yeah , do you know how i can navigate to the project folder in railway app
Brody
Brody8mo ago
why do you need to, railway will run that command from the root of your project
Girish
Girish8mo ago
yes but how ? I have one project , and i have only one command i can give under deploy
Brody
Brody8mo ago
screenshot of project please
Girish
Girish8mo ago
one sec
Girish
Girish8mo ago
No description
Brody
Brody8mo ago
you need another railway service that run the cron schedule and start command the block on the left is a service create another service in the same project
Girish
Girish8mo ago
and how do i connect that service to this project? as in this service when i create a new service and connec tmy repo,
Brody
Brody8mo ago
close the web popout, and click the + new button
Want results from more Discord servers?
Add your server