[NTLUG:Discuss] Cron
Scott Hollomon
scott at collinstreet.com
Mon Apr 19 10:54:58 CDT 2004
On Mon April 19 2004 10:28 am, terry wrote:
> Scott Hollomon wrote:
> > I don't want the cron daemon to send me email when it runs, or better
> > yet, to email me when some jobs run but not others. I tried to turn it
> > all off by doing the following: edit the mail to line in /etc/crontab so
> > that there was no address, then I restarted crond. But that didn't work.
> > Any suggestions?
>
> That should work, according to man 5 but you might grep for "mail" or
> "Mail" or "MAIL" in that crontab file or, any other one, (Could it be
> coming from another user's crontab?)
There are user crontab files in /var/spool/cron, but there is no MAILTO line
in those files. Is the answer as simple, as suggested in another post above,
as putting a >/dev/null at the end of each line in the user files I don't
want to get mail about?
Thanks.
--
Scott Hollomon
Treasurer
Collin Street Bakery, Inc.
401 W. 7th Avenue
Corsicana, TX 75110
phone 903.654.6675
fax 903.654.6767
scott at collinstreet.com
More information about the Discuss
mailing list