From owner-freebsd-questions Fri Aug 27 11:30:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from apotheosis.za.org (apotheosis.za.org [137.158.128.27]) by hub.freebsd.org (Postfix) with ESMTP id 8C5FE14C49 for ; Fri, 27 Aug 1999 11:30:07 -0700 (PDT) (envelope-from lonewolf@apotheosis.za.org) Date: Fri, 27 Aug 1999 20:29:53 +0200 From: Matthew West To: Jaco Engelbrecht Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cron root /usr/libexec/atrun Message-ID: <19990827202953.A6195@apotheosis.za.org> Mail-Followup-To: Jaco Engelbrecht , freebsd-questions@FreeBSD.ORG References: <01a901bef0b7$fcae8610$0898a8c0@noc.didgeridoo.za.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <01a901bef0b7$fcae8610$0898a8c0@noc.didgeridoo.za.net>; from "Jaco Engelbrecht" on Fri, Aug 27, 1999 at 08:14:17PM Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Aug 27, 1999 at 08:14:17PM +0200, Jaco Engelbrecht wrote: > Hey! > > I'm getting thousands of msg's from Cron Deamon that says: > > Subject : Cron root /usr/libexec/atrun > > "root: not found" > > Any suggestions? I've tried putting back a brand new crontab file in /etc, > and still won't work. I'm running FreeBSD 3.2-RELEASE on a P133 Intel > machine. Exim, Squid, Apache (PHP3) & MRTG is running on there.... > > Any help would be appreciated ;-) It looks like cron thinks you're trying to run the command: "root /usr/libexec/atrun" I suspect you've probably copied lines from /etc/crontab into root's crontab (ala crontab -e). The system crontab file (/etc/crontab) is different to "user" crontabs in that it takes an extra field before the command. This field contains the user which the command will run as. "atrun" (the at job scheduler) should only really be running from /etc/crontab. As root, run "crontab -e" and remove the line containing "atrun". -- mwest@uct.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message