[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cron job with bad news



In your email to me, Erick Branderhorst, you wrote:
> 
> 
> Hi Debians,
> 
> I get the following message every hour or so, I'm not sure but a
> approx 25 are coming in every day. How can this be switched off?  I
> don't want to use news because no direct connection to the outside
> exists.
> 
> --
> >From root Wed Oct 25 18:14:01 1995
> Return-Path: <root>
> Received: by morris.heel.azr.nl
> 	id <m0t89Or-000gJoC@morris.heel.azr.nl>
> 	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 25 Oct 95 18:14 MET
> Message-Id: <m0t89Or-000gJoC@morris.heel.azr.nl>
> Date: Wed, 25 Oct 95 18:14 MET
> From: root (Cron Daemon)
> To: news
> Subject: Cron <news@morris> rnews -U
> X-Cron-Env: <PATH=/usr/lib/news/bin:/bin:/sbin:/usr/bin:/usr/sbin>
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/var/spool/news>
> X-Cron-Env: <LOGNAME=news>
> Status: RO
> 
> /bin/sh: rnews: command not found

This should be out of your user 'news' crontab. You will find a line
that is doing 'rnews -U' to try to resubmit any spooled news.

su news -c "crontab -e"

Tim

-- 
		       sailer@sun10.sep.bnl.gov
  "Why am I soft in the middle, and the rest of my life is so hard?"
   Paul Simon
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**


Reply to: