You are here

Email Options

Here are examples of how to control email.


  • Use Different Email Address

This is how you can tell the farm to use a different email address than the user account that submitted the job.

PROJECT: MyProject
TRACK: MyTrack
JOBNAME: MyJob
COMMAND: ls -alF
MAIL: otherUser@jlab.org

The XML version of this script looks like (email at job level is turned off, even with job="true'):

<Request>
  <Email email="otherUser@jlab.org" request="true" job="false"/>
  <Project name="MyProject"/>
  <Track name="MyTrack"/>
  <Name name="MyJob"/>
  <Command><![CDATA[
   ls -alF
  ]]></Command>

  <Job>
  </Job>

</Request>

  • Email Multiple Users

This is how you can tell the farm to use multiple email addresses.

PROJECT: MyProject
TRACK: MyTrack
JOBNAME: MyJob
COMMAND: ls -alF
MAIL: user@jlab.org, otherUser@jlab.org

The XML version of this script looks like:

<Request>
  <Email email="user@jlab.org" request="false" job="true"/>
  <Email email="otherUser@jlab.org" request="false" job="false"/>
  <Project name="MyProject"/>
  <Track name="MyTrack"/>
  <Name name="MyJob"/>
  <Command><![CDATA[
   ls -alF
  ]]></Command>

  <Job>
  </Job>

</Request>

  • Suppress Email

This is how you can tell Auger not to send you emails for each job. Note that this can only be done in XML.

<Request>
  <Email email="otherUser@jlab.org" request="false" job="false"/>
  <Project name="MyProject"/>
  <Track name="MyTrack"/>
  <Name name="MyJob"/>
  <Command><![CDATA[
   ls -alF
  ]]></Command>

  <Job>
  </Job>

</Request>

Another way to suppress email is to just leave off the <Email> tag.

<Request>
  <Project name="MyProject"/>
  <Track name="MyTrack"/>
  <Name name="MyJob"/>
  <Command><![CDATA[
ls -alF
  ]]></Command>

  <Job>
  </Job>

</Request>


  • Request Level Email

This is how you can tell Auger to send you a message when your request is finished. Note that this can only be done in XML. 
Please notice that email at job level is turned off (even with job="true').

<Request>
  <Email email="otherUser@jlab.org" request="true" job="false"/>
  <Project name="MyProject"/>
  <Track name="MyTrack"/>
  <Name name="MyJob"/>
  <Command><![CDATA[
    ls -alF
  ]]></Command>

  <Job>
  </Job>

</Request>