cron can't find root or operator
Bill Moran
wmoran at potentialtech.com
Thu May 20 08:47:41 PDT 2004
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 at www> root /usr/libexec/atrun
> Body: root: not found
>
> and
>
> Cron <root at 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
More information about the freebsd-questions
mailing list