[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Disable email notification



> I have a another question about condor: Is it possible to disable the 
> fact that each time a job is completed, the user receive a email?
> I found the option of use "notification=never" in the submit file but
I 
> would like if possible to configure this behavior on the server side.

You can set the MAIL configuration variable to a custom script that
basically throws away the mail you don't want sent. See:

http://www.cs.wisc.edu/condor/manual/v6.9/3_3Configuration.html#10847

This macro has to be set for the schedd to run. A simple Perl wrapper
that looks at the -s (subject) argument to decide if the message needs
to get passed to the true mail program would suffice.

- Ian