In this Python Programming Tutorial, we’re going to be looking at a real-world example of writing a script to monitor a website. If the website doesn’t return a successful response for any reason then we will send an email and reboot the web server. Let’s get started…

The code from this video (with added logging) can be found at:

http://bit.ly/monitor-script

🔔 Subscribe: https://www.youtube.com/c/Coreyms/featured

#python

Write a Script to Monitor a Website, Send Alert Emails, and Reboot Servers with Python
13.85 GEEK