Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 1996 12:57:37 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Scott Blachowicz <scott@statsci.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Message to Root Every 5 Minutes
Message-ID:  <Pine.BSF.3.91.960626125047.227A-100000@andrsn.stanford.edu>
In-Reply-To: <m0uYzb6-000607C@main.statsci.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 26 Jun 1996, Scott Blachowicz wrote:

> Annelise Anderson <andrsn@andrsn.stanford.edu> wrote:
> 
> > I'm getting the following message sent every five minutes--it ends
> > up in /var/mail/root:
> > 
> > 
> > >From daemon Wed Jun 26 08:10:01 1996
> > Received: (from root@localhost) by andrsn.stanford.edu (8.7.5/8.6.12) id IAA00596; Wed, 26 Jun 1996 08:10:01 -0700 (PDT)
> > Date: Wed, 26 Jun 1996 08:10:01 -0700 (PDT)
> > Message-Id: <199606261510.IAA00596@andrsn.stanford.edu>
> > From: root (Cron Daemon)
> > To: root
> > Subject: Cron <root@andrsn> root	/usr/libexec/atrun
> > X-Cron-Env: <SHELL=/bin/sh>
> > X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
> > X-Cron-Env: <HOME=/root>
> > X-Cron-Env: <LOGNAME=root>
> > X-Cron-Env: <USER=root>
> > 
> > root: not found
> > 
> > I must have something set wrong--any ideas?
> 
> Looks like you got an entry from /etc/crontab into root's cron file in the
> spool area.  The spool area cron files don't have a username as item right
> before the command but /etc/crontab does.  You probably want to do a
> 'crontab -e' to edit the spool area cron file to remove the "root"...or
> remove that line altogether since it might already be in /etc/crontab.

I found /var/cron/tabs/root, which is apparently the "real" file.  I
took out a line I'd added, using crontab to edit and reinstall, and
rebooted, but this does not help.  This is the only file in that directory.  
I can't find any "spool area" cron files.  

Annelise

 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960626125047.227A-100000>