R
Railway4mo ago
Yash

Apps auto-restart

Hey folks, A few months back i deployed my app on Railway, and i setup a auto restart mechanism that had a pattern of restarting every x hours. I'm unable to find that anymore, did anything change? Please let me know how i can change that schedule.
Solution:
its configured via an environment variable in the cron service that was deployed from a template
Jump to solution
8 Replies
Percy
Percy4mo ago
Project ID: N/A
Brody
Brody4mo ago
I have been using railway for years and can safely say that we have never had this feature natively. are you perhaps talking about the cron template?
Yash
YashOP4mo ago
yes, possibly! i'm sorry if i'm unclear, it's been a few months since i made changes to the app
Yash
YashOP4mo ago
restarts are working as usual, but i'm not sure where i set this up
No description
Brody
Brody4mo ago
you configured it in the service settings on the cron service
Yash
YashOP4mo ago
yep that's what i thought at first, but i do not see an option to change / configure it
No description
Solution
Brody
Brody4mo ago
its configured via an environment variable in the cron service that was deployed from a template
Yash
YashOP4mo ago
ah, found it!
Want results from more Discord servers?
Add your server