Skip to content

Latest commit

 

History

History
 
 

Run Then Notify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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.