This script will search for systems running after work hours and send email with the help of users.csv file. Run this code with python3. Just set a corntab for scheduling.
- users.csv based on your requirements.
- email function's fromadress, toaddress, server gatway,username and passoword.