Date: Sun, 19 Mar 2000 21:45:49 +0200 From: Ertan Kucukoglu <ertank@ozlerplastik.com> To: Bhishan Hemrajani <bhishan@cytosine.dhs.org> Cc: Cron Daemon <root@cytosine.dhs.org>, freebsd-questions@FreeBSD.ORG Subject: Re: Cron sends messages to root Message-ID: <38D52E6D.A678D285@ozlerplastik.com> References: <200003191658.IAA84370@cytosine.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@cytosine> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D52E6D.A678D285>