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
Google Account Settings:
https://myaccount.google.com/lesssecu...
https://myaccount.google.com/apppassw...
Requests Video - • Python Requests Tutorial: Request Web...
Environment Variables (Windows) - • Python Quick Tip: Hiding Passwords an...
Environment Variables (Mac and Linux) - • Python Quick Tip: Hiding Passwords an...
Try/Except Video - • Python Tutorial: Using Try/Except Blo...
F-String Video - • Python Quick Tip: F-Strings - How to ...
Crontab Video - • Linux/Mac Tutorial: Cron Jobs - How t...
✅ Support My Channel Through Patreon:
/ coreyms
✅ Become a Channel Member:
/ @coreyms
✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY
✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1
✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer
▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel - / coreymschafer
Facebook - / coreymschafer
Twitter - / coreymschafer
Instagram - / coreymschafer
#Python