dsub
dsub copied to clipboard
Add email / SMS notifications
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.
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.)
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.