crontab root not found
Timms, Simon
STimms at petro-canada.ca
Fri Jun 27 08:09:03 PDT 2003
Hi,
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
root and I'm right here, I then tried waving my hands so the computer could
find me more easily. Then it occurred to me that perhaps the contab file
was being interpreted as a normal user crontab file and it was trying to run
the command "root" as that is what appeared in the 6th column. So I went
and read the crontab man page and found that I should run crontab with the
-u option when using su. I tried that too and I'm still getting the e-mails
every 5 minutes. So what command should I run to load the master crontab?
I tried
#crontab -u root crontab
but that too seems to interpret the crontab as a user crontab too. I have
removed any changes I made to the crontab so I won't bother including it in
the e-mail since it is the default file.
Thank you kindly,
Simon
********************
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