*BSD News Article 48119


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!daffy!uwvax!uwm.edu!news.moneng.mei.com!news.ecn.bgu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!uunet!in1.uu.net!news1.digital.com!vixie!nnrp!vixie
From: vixie@gw.home.vix.com (Paul A Vixie)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: cron daemon
Date: 07 Aug 1995 22:12:56 GMT
Organization: Vixie Enterprises
Lines: 21
Distribution: world
Message-ID: <VIXIE.95Aug7151256@gw.home.vix.com>
References: <404rlt$amh@news.enterprise.net>
NNTP-Posting-Host: gw.home.vix.com
In-reply-to: jon@enterprise.net's message of Mon, 07 Aug 95 14:52:51 GMT

> Please don't flame me if I sound totally thick here, but
> how do you stop the cron daemon from mailing everytime
> it's run a job??

according to "man 5 crontab"...

       In addition to LOGNAME, HOME, and SHELL, cron(8) will look
       at MAILTO if it has any reason to send mail as a result of
       running  commands  in  ``this''  crontab.   If  MAILTO  is
       defined (and non-empty), mail  is  sent  to  the  user  so
       named.   If  MAILTO  is  defined but empty (MAILTO=""), no
       mail will be sent.  Otherwise mail is sent to the owner of
       the  crontab.   This  option  is  useful  if you decide on
       /bin/mail instead of /usr/lib/sendmail as your mailer when
       you  install  cron  --  /bin/mail doesn't do aliasing, and
       UUCP usually doesn't read its mail.
--
Paul Vixie
La Honda, CA			"Illegitimi non carborundum."
<paul@vix.com>
pacbell!vixie!paul		(dont let the bastards grind you down)