I have a WordPress self hosted blog which was down until last week. After updating WordPress, now the site is working fine. But I would like to check it frequently for next couple of days. Is it possible to write a program to do this so that I can schedule it?
Please give some suggestions. I am thinking of Python as the language for the program, but I am open to any language.
You can test if the website is up or down with a simple HTTPConnection, send a “OPTIONS *” request, if the answer is “200 OK”, your site is up, otherwise, check the http error codes.