Tuesday, July 15, 2014

How to notify yourself via email when your process is done

Lets say that you are running a script and you don't want to check all the time whether it is finished.
You can notify yourself via email, just add this line at the end of your script:

echo my job is completed | sendmail <your email address>

You will receive an email with the text: my job is completed

No comments:

Post a Comment