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

Re: [Condor-users] Disable email notification



Thanks for this information,

Fabrice


Ian Chesal wrote:
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


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at either
https://lists.cs.wisc.edu/archive/condor-users/
http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR