/usr/share/pegasus/examples/notifications/my-notify.sh is in pegasus-wms 4.4.0+dfsg-7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/bash
# Pegasus ships with a couple of basic notification tools. Below
# we show how to notify via email and gtalk.
# all notifications will be sent to email
# change $USER to your full email addess
$PEGASUS_SHARE_DIR/notification/email -t $USER
# this sends notifications about failed jobs to gtalk.
# note that you can also set which events to trigger on in your DAX.
# set jabberid to your gmail address, and put in yout
# password
# uncomment to enable
#if [ "x$PEGASUS_STATUS" != "x" -a "$PEGASUS_STATUS" != "0" ]; then
# $PEGASUS_SHARE_DIR/notification/jabber --jabberid FIXME@gmail.com --password FIXME --host talk.google.com
#fi
|