From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 08:09:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A518537B401 for ; Fri, 27 Jun 2003 08:09:02 -0700 (PDT) Received: from pcaxs03.petro-canada.ca (pcx1.petro-canada.ca [209.82.98.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF27543FCB for ; Fri, 27 Jun 2003 08:09:01 -0700 (PDT) (envelope-from STimms@petro-canada.ca) Received: by pcaxs03.pcacorp.net with Internet Mail Service (5.5.2656.59) id ; Fri, 27 Jun 2003 09:09:07 -0600 Message-ID: From: "Timms, Simon" To: freebsd-questions@freebsd.org Date: Fri, 27 Jun 2003 09:08:57 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: crontab root not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 15:09:03 -0000 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.