Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 09:08:57 -0600
From:      "Timms, Simon" <STimms@petro-canada.ca>
To:        freebsd-questions@freebsd.org
Subject:   crontab root not found
Message-ID:  <BB28669D4974D311B4A00008C75D1CF90F54C0D5@pcaxs02.pcacorp.net>

next in thread | raw e-mail | index | archive | help
Hi,
I seem to be having some trouble with cron.  I edited my crontab file =
and
added a line then ran=20

#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=20

#crontab -u root crontab=20

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. =20

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 =E9lectronique est une communication =
priv=E9e =E0
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'=EAtes pas le destinataire pr=E9vu, vous =
=EAtes avis=E9,
par les pr=E9sentes 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'=EAtes pas sp=E9cifiquement autoris=E9 =E0 =
recevoir ce courriel
ou si vous croyez l'avoir re=E7u par erreur, veuillez en aviser =
l'exp=E9diteur
original imm=E9diatement.  Nous respectons les demandes similaires qui
touchent la confidentialit=E9 des communications par courrier =
=E9lectronique.



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