From owner-freebsd-questions Thu Jan 11 7:22: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by hub.freebsd.org (Postfix) with ESMTP id BCA7C37B401 for ; Thu, 11 Jan 2001 07:21:45 -0800 (PST) Received: from localhost (ghelmer@localhost) by magellan.palisadesys.com (8.11.0/8.11.0) with ESMTP id f0BFLhY09032; Thu, 11 Jan 2001 09:21:43 -0600 Date: Thu, 11 Jan 2001 09:21:43 -0600 (CST) From: Guy Helmer To: Scott Reber Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cron -- root: not found In-Reply-To: <4.3.2.7.2.20010111095950.00b0de10@atltechgroup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 Jan 2001, Scott Reber wrote: > I am a running FreeBSD 4.2R system and am quite new at it. > > Last night, I decided to look at the default crontab so I issued > "crontab -u root -e" (I now realize I should have used -l instead) and > there it was. Since I really didn't want to change anything, typed ":" and > then "q!". I then decided I wanted to print the contents of > /etc/periodic/daily" so I typed " cd /etc/periodic/daily" and then "cat * > > dailyfile". / immediately filled up. I deleted dailyfile and reissued the > cat as " cat * > ~/dailyfile" and all was well. > > Well not quite, I am getting an email from cron every five minutes: > _________________________________________________ > Date: Wed, 10 Jan 2001 21:50:00 -0500 (EST) > Message-Id: <200101110250.f0B2o0500226@a.b.c> > Subject: Cron root /usr/libexec/atrun > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > To: root@a.b.c > From: root@a.b.c (Cron Daemon) > X-UIDL: ec9260d669e9fb0937417cdebb909904 > > root: not found > _____________________________________________________ > > Any and all ideas are welcome The system crontab (/etc/crontab) has a different format than per-user crontabs. See the crontab(5) for details. I think you installed the system crontab (/etc/crontab) as root's crontab. If so, use "crontab -u root -r" to revert this problem, and just edit /etc/crontab to make changes. Guy -- Guy Helmer, Ph.D. Sr. Software Engineer, Palisade Systems --- ghelmer@palisadesys.com http://www.palisadesys.com/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message