crontab root not found

Timms, Simon STimms at petro-canada.ca
Fri Jun 27 08:25:37 PDT 2003


Sure thing, here is the file.  But the line I added (right at the bottom) is
commented out. BTW I am running 5.1 release.  I also get operator not found
when it tries to run the second entry.


# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour    mday    month   wday    who     command
#
*/5     *       *       *       *       root    /usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11    *       *       *       *       operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0       *       *       *       *       root    newsyslog
#
# Perform daily/weekly/monthly maintenance.
1       3       *       *       *       root    periodic daily
15      4       *       *       6       root    periodic weekly
30      5       1       *       *       root    periodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,31    0-5     *       *       *       root    adjkerntz -a

# Run portupgrade
#*      2       *       *       *       root
/usr/local/scripts/cron.portupgrade

-----Original Message-----
From: Jonathan Arnold [mailto:jdarnold at buddydog.org]
Sent: Friday, June 27, 2003 9:18 AM
To: Timms, Simon
Cc: freebsd-questions at freebsd.org
Subject: Re: crontab root not found


> I seem to be having some trouble with cron.  I edited my crontab file and
> added a line then ran 
> 
> #crontab /etc/crontab
> 
> Now my email box is full of "cron root not found".  Nonsense, I said, I am

I'd say you should post the new line you added to cron. Sounds like
you have the formatting incorrectlying, and it is trying to run a
bogus command called either 'cron' or 'root'.

-- 
Jonathan Arnold     (mailto:jdarnold at buddydog.org)
Daemon Dancing in the Dark, a FreeBSD blog:
http://freebsd.amazingdev.com/blog




                         ********************

This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.


More information about the freebsd-questions mailing list