7 months ago
After a couple days the memory usage gets too high for no good reason and I want to restart the process automatically. Is there a way to do that? Would the CRON setting work for a web server in this situation?
Seems like this drives up the cost of my app by 100% or more …
7 Replies
https://station.railway.com/questions/restart-a-service-af57f9e3
Does this help you anyhow? You can schedule the re-deployment of the services after a stipulated interval of time.
7 months ago
simulieren, if you can, please mark my initial response to this query as the solution for your query (via the help-station) 
7 months ago
Railway's CRON job will not restart your services, if you have a long running application such as a web server, absolutely nothing will happen every time the CRON time comes around since your application would already be running.
7 months ago
simulieren, do mark my intial query as the solution for this post, as it helped you to resolve the issue!
Brody, if you can do the needful
Status changed to Solved brody • 7 months ago