setting up auto restarts?
new to railway, is it possible to set up regular auto restarts - like once every 24 hours or so?
Solution:Jump to solution
i think this template would do exactly what you want! https://railway.app/template/fwH-l3
10 Replies
hello, mind sharing your usecase?
well i'm working on a nextjs project and i'd like to restart it every so often to stop memory usage just building up and up - there might be an issue with my code causing it but i can't find any errors - still the question stands, is it possible?
no worries, was just asking so I could give you the best answer
ty
Solution
i think this template would do exactly what you want! https://railway.app/template/fwH-l3
thank you again!
let me know if you need any help with it, but be sure to read the overview
okay so from my understanding, it restarts my project on the desired cron schedule using an account token?
correct
for a restart every 24 hours at 12am, you can use the
0 0 * * *
expressionokie dokie