Imagine you launch your website and out of the blue your site goes down and you have no idea. Yikes! Well, that’s where https://github.com/Salaah01/website_pinger/ comes in!
I had my website go down a few days ago and only noticed when I hardly had any traffic come onto my site https://www.bluishpink.com. And so, I’ve written a little bit of Python that will email me from now on whenever the site is down that is triggered by a shell script.
Just a little code you can use to email yourself if your server is down!