Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
wiki:job_event_notifications [2016/03/23 23:30] – Page moved from job_start_and_stop_notifications:job_event_notifications to wiki:job_event_notifications neyron | wiki:job_event_notifications [2016/03/23 23:32] – [XMPP notification] neyron |
---|
''sendxmpp'' will have to authenticate itself to a jabber server, with credentials set in our ''~/.sendxmpprc'' (see the manual page of ''sendxmpprc''). We need to have a dedicated jabber user (different from the one we use to get the notification) to send the message, but that's not very expensive. | ''sendxmpp'' will have to authenticate itself to a jabber server, with credentials set in our ''~/.sendxmpprc'' (see the manual page of ''sendxmpprc''). We need to have a dedicated jabber user (different from the one we use to get the notification) to send the message, but that's not very expensive. |
| |
| Assuming that the script is stored in ''/home/myself/bin/jabber.sh'', we can use it with: |
| <code bash> |
| $ oarsub --notify "exec:/home/myself/bin/jabber.sh" ... |
| </code> |