From owner-freebsd-questions Mon Mar 26 11:32:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from babel.acu.edu (babel.acu.edu [150.252.167.240]) by hub.freebsd.org (Postfix) with ESMTP id AEFA837B719 for ; Mon, 26 Mar 2001 11:31:23 -0800 (PST) (envelope-from scattered@babel.acu.edu) Received: from localhost (scattered@localhost) by babel.acu.edu (8.9.3/8.8.7) with ESMTP id OAA20669 for ; Mon, 26 Mar 2001 14:05:46 -0600 Date: Mon, 26 Mar 2001 14:05:46 -0600 (CST) From: Cary To: freebsd-questions Subject: cron problems, II - :) 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 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