[GE users] Mail notification
Mark.Olesen at emcontechnologies.com
Thu Dec 11 14:25:50 GMT 2008
> Not actually trivial, but doable:
Okay, that prompted me to post ;)
> You write a script wrapper for what you are using as 'mailer' in
> sge_conf(5) in
> a way that it mimics any input/output of this mailer. In order to get
> the job arguments into the subject line you must at first extract the
> ID from the string passed as argument to -s "subject" so that you can
> retrieve the jobs' arguments using
> # qstat -j <jobid> | grep "^job_args:"
> and then you exec the actual mailer with an adujsted -s "subject".
> When you got this wrapper to work you can configure it as 'mailer'.
See attached for an implementation (already posted a few months ago).
Hook it in the configuration like this:
This e-mail message and any attachments may contain
legally privileged, confidential or proprietary Information,
or information otherwise protected by law of EMCON
Technologies, its affiliates, or third parties. This notice
serves as marking of its "Confidential" status as defined
in any confidentiality agreements concerning the sender
and recipient. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of this
message to the intended recipient(s), you are hereby
notified that any dissemination, distribution or copying
of this e-mail message is strictly prohibited.
If you have received this message in error, please
immediately notify the sender and delete this e-mail
message from your computer.
To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
[ Part 2, "mailwrapper.txt" Text/PLAIN (Name: "mailwrapper.txt") ~2.1 ]
[ KB. ]
[ Unable to print this part. ]
More information about the gridengine-users