Email notifications from the command line.
Step 1 Wrap your long running job in
$ lmk 'bash ./experiments.sh' ... # command runs and outputs normally [lmk] firstname.lastname@example.org notified
Step 2 ☕
Step 3 Receive an email when it's done:
lmk - reads passively from stdin:
$ (./experiment1.sh; experiment2.py) 2>&1 | lmk - ... # commands run and output normally [lmk] email@example.com notified
$ pip install lmk