[SunHELP] crontab

Will Hayes smiley12 at alltel.net
Thu Jan 10 00:05:00 CST 2002


As long as cron doesn't send output to stderr and stdout, you won't get
email.  Within the crontab, redirect them to /dev/null like this:

* * * * * some_cron_command > /dev/null 2>&1

Hope that helps,
Will

-----Original Message-----
From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
Behalf Of Sangbutsarakum, Patai
Sent: Wednesday, January 09, 2002 11:04 PM
To: 'sunhelp at sunhelp.org'
Subject: RE: [SunHELP] crontab


May be my ambiguous English
I don't know even how suppress
email from crontab everytime it finish their jobs?
Because it load my machine so much !

Patrick
-----Original Message-----
From: Anthony J. Gabrielson [mailto:agabriel at home.tzo.org]
Sent: Thursday, January 10, 2002 11:02
To: Sangbutsarakum, Patai
Subject: Re: [SunHELP] crontab


Should be the same way.  Just pipe the email to /dev/null.

Anthony

On Thu, 10 Jan 2002, Sangbutsarakum, Patai wrote:

> Hi folks
> Is there any way to stop crond to send email to root
> everytime that it finish its jobs?
> Is it the same way as in Linux?
>
> Thanks
> Patrick
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list