<div dir="ltr">That worked!  Thanks!<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br>
<hr style="background-color:#293f6f;border:0;height:1px;margin:5px 0px">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody><tr>
    <td valign="top" width="140"><a href="http://tcnj.pages.tcnj.edu/" target="_blank"><img src="http://www.tcnj.edu/email-signature/tcnjlogo-square_135.jpg" alt="The College of New Jersey" height="90" border="0" width="135"></a></td>
    <td valign="top"><span style="font-family:Georgia,serif;color:rgb(41,63,111);padding:0px;line-height:125%"><span style="font-size:18px;font-weight:bold;padding:0px">Shawn Sivy</span><br>
      <span style="font-size:14px;font-weight:bold">HPC System Administrator</span><br>
      <span style="font-size:14px">School of Science</span><br>
      <span style="font-size:13px;color:rgb(41,63,111)">PO Box 7718 Ewing, NJ 08628-0718</span><br>
      <span style="color:rgb(41,63,111);font-size:12px">609-771-3475</span><br>
      <span style="color:rgb(41,63,111);font-size:12px"><a href="mailto:email@tcnj.edu" target="_blank">ssivy@tcnj.edu</a></span></span></td>
  </tr>
</tbody></table>


</div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 31, 2018 at 9:33 PM Jeremy Nicklas <<a href="mailto:jeremywnicklas@gmail.com">jeremywnicklas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is although it isn't fully tested. The relevant documentation can be found here:<div><br></div><div><a href="https://osc.github.io/ood-documentation/master/app-development/interactive/submit.html#specify-job-submission-parameters" target="_blank">https://osc.github.io/ood-documentation/master/app-development/interactive/submit.html#specify-job-submission-parameters</a><br></div><div><br></div><div>Which links to all available options for the `<font face="monospace">script</font>` field in the `<font face="monospace">submit.yml.erb</font>` file here:</div><div><br></div><div><a href="https://www.rubydoc.info/gems/ood_core/OodCore/Job/Script" target="_blank">https://www.rubydoc.info/gems/ood_core/OodCore/Job/Script</a><br></div><div><br></div><div>In particular there is an option called `<font face="monospace">email</font>` that can be fed a single string or an array of strings to send emails to.</div><div><br></div><div>An example `<font face="monospace">submit.yml.erb</font>` file where we set a single email address would be....</div><div><br></div><div><div><font face="monospace">---</font></div><div><font face="monospace">batch_connect:</font></div><div><font face="monospace">  template: "basic"</font></div><div><font face="monospace">script:</font></div><div><font face="monospace">  wall_time: 3600</font></div><div><font face="monospace">  queue_name: "debug"</font></div><div><font face="monospace">  email_on_started: true</font></div><div><font face="monospace">  email: <%= ENV["USER"] %>@<a href="http://tcnj.edu" target="_blank">tcnj.edu</a></font></div></div><div><br></div><div>Note, your mileage may vary depending on the resource manager your cluster uses, as at the time we were unable to map every script option to a corresponding resource manager argument.</div><div><br></div><div>-Jeremy Nicklas</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 31, 2018 at 3:49 PM Sivy, Shawn via OOD-users <<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hopefully this is a dumb and easy question to answer.<div><br></div><div>I know you can use the <b>bc_email_on_started</b> to send an email to the end-user when their session starts. Is there somewhere to manipulate the email address that it will send to? Right now it appears to send to their <i>username</i> with no @domain portion included. I'd like to modify the recipient to add "@<a href="http://tcnj.edu" target="_blank">tcnj.edu</a>" so that the headnode doesn't try to deliver it locally and instead routes it to the SMTP server. I can probably fix this in the Postfix config on the headnode, but would rather not mess with that if I didn't have to.<div><div dir="ltr" class="m_-3721407734132064511m_-8339837122424442184gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">
<br>
<hr style="background-color:#293f6f;border:0;height:1px;margin:5px 0px">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody><tr>
    <td valign="top" width="140"><a href="http://tcnj.pages.tcnj.edu/" target="_blank"><img src="http://www.tcnj.edu/email-signature/tcnjlogo-square_135.jpg" alt="The College of New Jersey" height="90" border="0" width="135"></a></td>
    <td valign="top"><span style="font-family:Georgia,serif;color:rgb(41,63,111);padding:0px;line-height:125%"><span style="font-size:18px;font-weight:bold;padding:0px">Shawn Sivy</span><br>
      <span style="font-size:14px;font-weight:bold">HPC System Administrator</span><br>
      <span style="font-size:14px">School of Science</span><br>
      <span style="font-size:13px;color:rgb(41,63,111)">PO Box 7718 Ewing, NJ 08628-0718</span><br>
      <span style="color:rgb(41,63,111);font-size:12px"><a href="tel:(609)%20771-3475" value="+16097713475" target="_blank">609-771-3475</a></span><br>
      <span style="color:rgb(41,63,111);font-size:12px"><a href="mailto:email@tcnj.edu" target="_blank">ssivy@tcnj.edu</a></span></span></td>
  </tr>
</tbody></table>


</div></div></div></div></div></div></div>
_______________________________________________<br>
OOD-users mailing list<br>
<a href="mailto:OOD-users@lists.osc.edu" target="_blank">OOD-users@lists.osc.edu</a><br>
<a href="https://lists.osu.edu/mailman/listinfo/ood-users" rel="noreferrer" target="_blank">https://lists.osu.edu/mailman/listinfo/ood-users</a><br>
</blockquote></div>
</blockquote></div>