[torqueusers] diasble notification mail by default

Steve Young chemadm at hamilton.edu
Tue Sep 23 07:12:31 MDT 2008

I thought you could put  #PBS -m n in your batch scripts to disable  
the mail. I'm not for certain. From the qsub man page:

-m mail_options
                Defines the set of conditions under which the  
execution server will send a mail message about the job.  The  
mail_options argument is a string  which  consists  of
                either the single character "", or one or more of the  
characters "", "", and "".

                If the character "" is specified, no mail will be sent.

                For the letters "", "", and "":

                a  mail is sent when the job is aborted by the batch  

                b  mail is sent when the job begins execution.

                e  mail is sent when the job terminates.

                If the -m option is not specified, mail will be sent  
if the job is aborted.

On Sep 22, 2008, at 11:27 AM, Arnau Bria wrote:

> On Mon, 22 Sep 2008 10:18:43 -0500
> Zhiliang Hu wrote:
>> Arnau,
> Hi Zhiliang,
>> The error has to go somewhere if not in the form of mail message. It
>> could be awkward if at some point in the future you wish to diagnose
>> something depending on how you "disable" it.
>> In your case, one simple approach might be that you can use procmail
>> to pipe all these mails to a file in /tmp, or directly to /dev/null.
>> This way you can always switch it to a real email destination when
>> needed.
>> Zhiliang
> Thanks for your reply,
> Arnau
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers

More information about the torqueusers mailing list