dsub icon indicating copy to clipboard operation
dsub copied to clipboard

Add email / SMS notifications

Open jbingham opened this issue 7 years ago • 2 comments

qsub supports email notifications. That would be useful. There's also this thing called a mobile phone, and SMS notifications would maybe be even more useful.

jbingham avatar May 10 '17 21:05 jbingham

While there is no built-in feature for this, we can use the --wait feature and a bit of command line magic to send a SMS when a job finishes:

dstat --wait $JOBID ; echo "JOB $JOBID has finished" | mail [email protected] 

(this example uses ATT's email gateway, but other telcos offer equivalent services.)

jean-philippe-martin avatar Sep 11 '17 18:09 jean-philippe-martin

There are always workarounds :) Agree it's not too hard to do in combination with --wait. The main use case is for long-running operations where people want to fire and forget, until the notification comes and they have to remember.

Not a high priority until users start asking.

jbingham avatar Sep 11 '17 20:09 jbingham