Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last 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 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:
 +<code bash>
 +$ oarsub --notify "exec:/home/myself/bin/jabber.sh" ...
 +</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