From owner-freebsd-questions Mon Mar 26 11:39:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mgci.com (box1.mpowercom.net [208.57.0.10]) by hub.freebsd.org (Postfix) with SMTP id 89CC037B719 for ; Mon, 26 Mar 2001 11:39:28 -0800 (PST) (envelope-from chrissmith@mgci.com) Received: (qmail 30930 invoked from network); 26 Mar 2001 19:39:27 -0000 Received: from las-dsl113-cust059.mpowercom.net (HELO chris) (208.57.113.59) by box1.mpowercom.net with SMTP; 26 Mar 2001 19:39:27 -0000 Message-ID: <009f01c0b62c$7857a540$0c00a8c0@amgroupadmin.com> From: "Chris Smith" To: "Cary" Cc: "Freebsd Questions" References: Subject: Re: cron problems, II - :) Date: Mon, 26 Mar 2001 11:39:27 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 Disposition-Notification-To: "Chris Smith" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Did you verify that all the root cron entries do actually exist in the directories specified and are chmod +x? I would check all these: $ grep root crontab */5 * * * * root /usr/libexec/atrun 0 * * * * root newsyslog 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly 1,31 0-5 * * * root adjkerntz -a @reboot root /usr/local/bin/ntpd _________________________________________________________________________ Chris Smith American Group Administrators IT Department First National Administrators ----- Original Message ----- From: "Cary" To: "freebsd-questions" Sent: Monday, March 26, 2001 12:05 PM Subject: cron problems, II - :) > 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