I have a small vps where I host a web application that I developed and it starts to get a lot of visits.
I need to check / check something, every X minutes, to check if the website is working (check the status code, 200) or if it is turned off (code 500) and if it is turned on, restart the script that I run made to restart some services.
Any idea how to test this on Linux? Curl, Lynx?
source
share