crontab mails

Jerry McAllister jerrymc at msu.edu
Sun Jul 27 02:55:31 UTC 2008


On Sat, Jul 26, 2008 at 08:18:14PM +0800, Jyun-Yi Liou wrote:

> Hi Yavuz,
> It's easy to tell crontab stop sending mail to you by disable sendmail in
> /etc/rc.conf
> 
> %> echo "sendmail_enable=\"NO\""
> man rc.conf for more information :-)

Kind of overkill, don't you think?
Sendmail does more than crontab mails.

> 
> or set the variable MAILTO  null on corntab
> MAILTO=""

Better.

////jerry


> 
> Regards,
> jyuny1
> 
> 2008/7/26 Yavuz Maslak <maslak at ihlas.net.tr>
> 
> > Hello
> >
> > On freebsd7.0, my crontab sends many mails about its jobs.
> >
> > I want crontab not to send these mails
> >
> > How can I do that ?
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list