Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 18:44:35 +0200
From:      platanthera <platanthera@web.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: cron can't find root or operator
Message-ID:  <200405201844.36529.platanthera@web.de>
In-Reply-To: <40ACD318.4050009@potentialtech.com>
References:  <20040520141445.50289.qmail@web40408.mail.yahoo.com> <40ACD318.4050009@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 20 May 2004 17:47, Bill Moran wrote:
> carvin5string wrote:
> > I have a new server set up and running and am getting a slew of
> > messages from cron, like this -
> >
> > Subject: Cron <root@www> root /usr/libexec/atrun
> > Body: root: not found
> >
> > and
> >
> > Cron <root@www> operator /usr/libexec/save-entropy
> > operator: not found
> >
> > What's going on with cron?
>
> You've got a user's crontab created in the format of the system
> crontab.
>
> The system crontab has an extra field to designate the user under
> which the job should run.  When this field is entered in a user's
> crontab, cron interprets it as the command to be run and the errors
> you describe generally result.
>
> Keep in mind that the user "root" has a user crontab that is
> different from the system crontab.
>
> If you're still fuzzy as to what went wrong, reading the man pages
> for crontab (in addition to my explanation) should help.

additionally you might want to have a look at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

> good luck.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405201844.36529.platanthera>