Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
wiki:job_event_notifications [2016/03/23 23:32] – [XMPP notification] neyronwiki:job_event_notifications [2016/03/23 23:32] – [XMPP notification] neyron
Line 53: Line 53:
 ''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:+Assuming that the script is stored in ''/home/myself/bin/jabber.sh'', we can use it with:
 <code bash> <code bash>
 $ oarsub --notify "exec:/home/myself/bin/jabber.sh" ... $ oarsub --notify "exec:/home/myself/bin/jabber.sh" ...
 </code> </code>
wiki/job_event_notifications.txt · Last modified: 2016/03/24 00:38 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki