From owner-freebsd-questions Mon Mar 26 11:41:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from apollo.ocsny.com (apollo.ocsny.com [204.107.76.2]) by hub.freebsd.org (Postfix) with ESMTP id 6F92B37B718 for ; Mon, 26 Mar 2001 11:41:51 -0800 (PST) (envelope-from mikel@ocsinternet.com) Received: from ocsinternet.com (thoth.upan.org [204.107.76.16]) by apollo.ocsny.com (8.9.2/8.9.3) with ESMTP id OAA84480; Mon, 26 Mar 2001 14:39:05 -0500 (EST) Message-ID: <3ABF9D15.72CB6ADE@ocsinternet.com> Date: Mon, 26 Mar 2001 14:48:37 -0500 From: Mikel X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en,it MIME-Version: 1.0 To: Cary Cc: freebsd-questions Subject: Re: cron problems, II - :) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG crontab -r (as root) then leave /etc/crontab alone...;) Cary wrote: > Sorry, I problably should have attached my crontab also! Stupid me. > Thanks to Chris Smith for pointing this out to me. > > --------/etc/crontab--------------------------------------- > # /etc/crontab - root's crontab for FreeBSD > # > # $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $ > # > SHELL=/bin/sh > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin > HOME=/var/log > # > #minute hour mday month wday who command > # > */5 * * * * root /usr/libexec/atrun > # > # rotate log files every hour, if necessary > 0 * * * * root newsyslog > # > # do daily/weekly/monthly maintenance > 1 3 * * * root periodic daily > 15 4 * * 6 root periodic weekly > 30 5 1 * * root periodic monthly > # > # time zone change adjustment for wall cmos clock, > # does nothing, if you have UTC cmos clock. > # See adjkerntz(8) for details. > 1,31 0-5 * * * root adjkerntz -a > # start ntpd on startup > @reboot root /usr/local/bin/ntpd > > ---------------EOF------------------------------------ > Cary Mathews > > Abilene Christian University > ACM Education Committee > > ---------- Forwarded message ---------- > Date: Mon, 26 Mar 2001 13:25:10 -0600 (CST) > From: Cary > To: freebsd-questions > Subject: cron problems > > I get the following email every five minutes and I don't know why. > Obviously something is wrong, but I don't know how to identify it. > > ---------- Forwarded message ---------- > Date: Mon, 26 Mar 2001 10:05:00 -0600 (CST) > From: root (Cron Daemon) > To: root > Subject: Cron root /usr/libexec/atrun > > root: not found > > -------------End Message-------------- > > Here is what I've done so far: > 1) read the man pages for cron(8), crontab(5), cron(1), atrun(8) and > at(1), I have not found any thing to help me with this error. > 2) checked if I have /usr/libexec/atrun as an actual file, I do, and it is > executable > 3) compared my /etc/crontab entry against the atrun(8) man page, and they > are the same. > 4) I've tried deleting the "root" in the /etc/crontab entry to see if the > "root: not found" was cron trying to run root as the command. That did not > work either. > 5) I'm getting this same message for newsyslog and adkerntz -a also! But > atrun fills up the fastest. > > Having my root mailbox fill up so quickly is annoying at the least, but > downright frustrating when I cannot understand why. If anyone has any > clarifications or help to offer, I am all ears. Thank you so much! > > Cary > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message