E-mail notifications for jobs running on remote servers with large execution times
pip install git+https://github.com/mb1069/job_mailer
Define the following env variables:
- EMAIL_HOST: smtp host address
- EMAIL_PORT: smtp host port (usually 25, 465 or 587)
- EMAIL_USER: smtp username
- EMAIL_PASSWORD: smtp password
- EMAIL_RECIPIENT: recipient's email address
Wrap your command using the command mailme
Eg: mailme sleep 70