From owner-freebsd-questions Thu Nov 12 19:37:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA13685 for freebsd-questions-outgoing; Thu, 12 Nov 1998 19:37:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA13663 for ; Thu, 12 Nov 1998 19:36:39 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id VAA12784; Thu, 12 Nov 1998 21:36:07 -0600 (CST) Date: Thu, 12 Nov 1998 21:36:07 -0600 From: Dan Nelson To: Rich Wilson , freebsd-questions@FreeBSD.ORG Subject: Re: cron error 'root: not found' Message-ID: <19981112213607.A12737@emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.3i In-Reply-To: ; from "Rich Wilson" on Thu Nov 12 19:06:51 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Nov 12), Rich Wilson said: > I'm running FreeBSD 2.2.7-RELEASE on two machines. On one of them, I'm > now getting cron error messages to root every time cron tries to run a > job. For example, every 5 minutes, I get one for the atrun command: > ---------- > >From daemon Thu Nov 12 19:10:00 1998 > Subject: Cron root /usr/libexec/atrun > > root: not found > > ----- > I havn't changed my root account in any way (that is, it's still there of > course). > > I also havn't changed root's cron file. It still has: > */5 * * * * root /usr/libexec/atrun This shouldn't be in root's crontab. It should be in the system crontab, /etc/crontab. They have slightly different formats. man 5 crontab says: The format of a cron command is very much the V7 standard, with a number of upward-compatible extensions. Each line has five time and date fields, followed by a user name (with optional ``:'' and ``/'' suffixes) if this is the system crontab file, followed by a command. It sounds like you copied the system crontab into root's crontab. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message