Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 11:47:36 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        carvin5string <carvin5string@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: cron can't find root or operator
Message-ID:  <40ACD318.4050009@potentialtech.com>
In-Reply-To: <20040520141445.50289.qmail@web40408.mail.yahoo.com>
References:  <20040520141445.50289.qmail@web40408.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

good luck.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



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