From owner-freebsd-questions Mon Mar 20 21:28:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www.ozler.com (asy7.as51.sol.superonline.com [212.252.51.7]) by hub.freebsd.org (Postfix) with ESMTP id 3BB3637B9DA for ; Mon, 20 Mar 2000 21:28:36 -0800 (PST) (envelope-from ertank@ozlerplastik.com) Received: from ozlerplastik.com (ertan [192.168.0.20]) by www.ozler.com (8.9.3/8.9.3) with ESMTP id VAA52652; Sun, 19 Mar 2000 21:56:21 +0200 (EET) (envelope-from ertank@ozlerplastik.com) Message-ID: <38D52E6D.A678D285@ozlerplastik.com> Date: Sun, 19 Mar 2000 21:45:49 +0200 From: Ertan Kucukoglu Organization: =?iso-8859-9?Q?=D6zler?= Plastik San. ve Tic. A.S. X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: tr,en MIME-Version: 1.0 To: Bhishan Hemrajani Cc: Cron Daemon , freebsd-questions@FreeBSD.ORG Subject: Re: Cron sends messages to root References: <200003191658.IAA84370@cytosine.dhs.org> Content-Type: text/plain; charset=iso-8859-9 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bhishan Hemrajani wrote: > > I am still getting this from Cron even though > I removed root for the entries in /etc/crontab. > > After I edited them, I HUPed Cron, and I still > received the message. > > The subject of the message was:Cron root newsyslog > > These are my old entries in /etc/crontab: > SHELL=/bin/sh > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin > HOME=/var/log > 0 * * * * root newsyslog > 1,31 0-5 * * * root adjkerntz -a > > These are my new entries that someone on the list said > would fix my problem: > SHELL=/bin/sh > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin > HOME=/var/log > 0 * * * * newsyslog > 1,31 0-5 * * * adjkerntz -a > > Please help. > > --bhishan > Hello, That is not a complete solution, but might work. Try to add 'MAILTO=mail_user' line to you crontab file. After that all mails will be send to the mail_user. Regards, -- Ertan Kucukoglu ertank@ozlerplastik.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message