R
Railway4w 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
Percy4w ago
Project ID: N/A
Brody
Brody4w 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
Yash4w ago
yes, possibly! i'm sorry if i'm unclear, it's been a few months since i made changes to the app
Yash
Yash4w ago
restarts are working as usual, but i'm not sure where i set this up
No description
Brody
Brody4w ago
you configured it in the service settings on the cron service
Yash
Yash4w ago
yep that's what i thought at first, but i do not see an option to change / configure it
No description
Solution
Brody
Brody4w ago
its configured via an environment variable in the cron service that was deployed from a template
Yash
Yash4w ago
ah, found it!
Want results from more Discord servers?
Add your server