From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 07:56:08 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 8C43816A4BF for ; Thu, 21 Aug 2003 07:56:08 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EAFC43FE9 for ; Thu, 21 Aug 2003 07:56:07 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (sccrmhc11) with ESMTP id <2003082114533901100sa9b8e>; Thu, 21 Aug 2003 14:53:39 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h7LErcMe093501; Thu, 21 Aug 2003 10:53:38 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h7LErbCj093498; Thu, 21 Aug 2003 10:53:37 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: "Johan Paul" References: <3F43BBB5.4070707@johanpaul.com> <5.2.0.9.2.20030820132603.011a9d68@mail.servplex.com> <1159.193.166.135.194.1061449346.squirrel@silakka.nettikala.fi> From: Lowell Gilbert Date: 21 Aug 2003 10:53:37 -0400 In-Reply-To: <1159.193.166.135.194.1061449346.squirrel@silakka.nettikala.fi> Message-ID: <44lltnkqoe.fsf@be-well.ilk.org> Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Crontab error mails 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: Thu, 21 Aug 2003 14:56:08 -0000 please. top-post, Dont "Johan Paul" writes: > > That is the format for the system crontab. /etc/crontab > > > > root has its own crontab entry (under /root). > > > > user crontabs have a different format then the system crontab. > > > > Remove the root from that line, and it should work. > > I was just wondering because the default installation of crontab has the > following comment line in /etc/crontab: > > # > #minute hour mday month wday who command > # > > ...and the entries that I found there had 'root' under the 'who' column. I > haven't edited the crontab-file before yesterday when I added my two > lines. You didn't add them to /etc/crontab. > But having said this I removed 'root' under the 'who' column and now it > seems to work nicely again. Why is there the 'who' column in the system > default crontab or what crontab file did crontab read before I ran > 'crontab /etc/crontab' since the format of that crontab file seems to be > incorrect? You edited your *user* crontab. Maybe the user crontab for "root", but not /etc/crontab. User crontabs have exactly the same format as /etc/crontab *except* for the user column (because they assume the user, naturally enough). For more information, you could see the FAQ entry on exactly this subject. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS