From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 00:00:00 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 6434E16A4BF for ; Thu, 21 Aug 2003 00:00:00 -0700 (PDT) Received: from silakka.nettikala.fi (silakka.nettikala.fi [212.182.218.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7FF43FBD for ; Wed, 20 Aug 2003 23:59:59 -0700 (PDT) (envelope-from mailing-lists@johanpaul.com) Received: from silakka.nettikala.fi (localhost.nettikala.fi [127.0.0.1]) by silakka.nettikala.fi (Postfix) with SMTP id 62DC9132462 for ; Thu, 21 Aug 2003 10:02:26 +0300 (EEST) Received: from 193.166.135.194 (SquirrelMail authenticated user kypeli) by silakka.nettikala.fi with HTTP; Thu, 21 Aug 2003 10:02:26 +0300 (EEST) Message-ID: <1159.193.166.135.194.1061449346.squirrel@silakka.nettikala.fi> In-Reply-To: <5.2.0.9.2.20030820132603.011a9d68@mail.servplex.com> References: <3F43BBB5.4070707@johanpaul.com> <5.2.0.9.2.20030820132603.011a9d68@mail.servplex.com> Date: Thu, 21 Aug 2003 10:02:26 +0300 (EEST) From: "Johan Paul" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal 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 07:00:00 -0000 Hi! > 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. 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? Thanks! > > Peter Elsner -- Johan Paul > > > At 09:19 PM 8/20/2003 +0300, you wrote: >>Hi all! >> >>What did I do wrong here; I edited /etc/crontab by adding two lines for >>execution and I think I even added then syntactically correct. I ran >> (just >>like Handbook told to do) crontab /etc/crontab. Now I get emails that >> say: >> >>Subject: Cron root /usr/libexec/atrun >> >>root: not found >> >>root is the user that should run the lines. Here is a line from crontab: >> >># make full backup weekly >>00 4 * * 7 root >> /usr/local/sbin/full_backup >> >> >>I commented out the lines that I added but still I get lines like that... >> >>Any help? Thanks! >> >> >>Regards, >> >>Johan Paul >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > Peter Elsner > Vice President Of Customer Service (And System Administrator) > 1835 S. Carrier Parkway > Grand Prairie, Texas 75051 > (972) 263-2080 - Voice > (972) 263-2082 - Fax > (972) 489-4838 - Cell Phone > >