Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 696 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 696 Bytes

Run then Notify

This is a python script that will run any terminal command on a system and once the command successfully runs, it will notify you via email of its time taken and the exit code.

This can be useful in case of long running commands.

Please enter your email and password when prompted. These values are not stored anywhere and are only used for the SMTP connection.

This system has a hardcoded gmail smtp server specified. In case of any other smtp server, please update the value in code.

Note: You may have to enable less secure app access in your gmail account.