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
Project ID:
N/A
Project ID:
N/A
N/A
what command do you want to run periodically?
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
i didnt help you solve it already?
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
why do you need to, railway will run that command from the root of your project
yes but how ? I have one project , and i have only one command i can give under deploy
screenshot of project please
one sec
![No description](https://cdn.answeroverflow.com/1197994689836634112/image.png)
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
and how do i connect that service to this project?
as in this service
when i create a new service and connec tmy repo,
close the web popout, and click the + new button