ssivy at tcnj.edu
Thu Nov 1 08:36:26 EDT 2018
That worked! Thanks!
[image: The College of New Jersey] <http://tcnj.pages.tcnj.edu/> Shawn Sivy
HPC System Administrator
School of Science
PO Box 7718 Ewing, NJ 08628-0718
ssivy at tcnj.edu <email at tcnj.edu>
On Wed, Oct 31, 2018 at 9:33 PM Jeremy Nicklas <jeremywnicklas at gmail.com>
> There is although it isn't fully tested. The relevant documentation can be
> found here:
> Which links to all available options for the `script` field in the `
> submit.yml.erb` file here:
> In particular there is an option called `email` that can be fed a single
> string or an array of strings to send emails to.
> An example `submit.yml.erb` file where we set a single email address
> would be....
> template: "basic"
> wall_time: 3600
> queue_name: "debug"
> email_on_started: true
> email: <%= ENV["USER"] %>@tcnj.edu
> 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.
> -Jeremy Nicklas
> On Wed, Oct 31, 2018 at 3:49 PM Sivy, Shawn via OOD-users <
> ood-users at lists.osc.edu> wrote:
>> Hopefully this is a dumb and easy question to answer.
>> I know you can use the *bc_email_on_started* 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
>> *username* with no @domain portion included. I'd like to modify the
>> recipient to add "@tcnj.edu" 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.
>> [image: The College of New Jersey] <http://tcnj.pages.tcnj.edu/> Shawn
>> HPC System Administrator
>> School of Science
>> PO Box 7718 Ewing, NJ 08628-0718
>> 609-771-3475 <(609)%20771-3475>
>> ssivy at tcnj.edu <email at tcnj.edu>
>> OOD-users mailing list
>> OOD-users at lists.osc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OOD-users