I have a SpringBoot Web server that sometimes shuts down itself when there is not enough memory on the machine.
So how can I automatically restart the application if that happens.
My approach would be to following:
In which server have you your Spring boot running ? In a linux distribution, you can manage it by using crontab to start at a wished hour and to stop the process too.
2.1m questions
2.1m answers
60 comments
57.0k users