From owner-freebsd-questions@FreeBSD.ORG Thu May 20 08:47:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B96B16A4CE for ; Thu, 20 May 2004 08:47:41 -0700 (PDT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14ACA43D45 for ; Thu, 20 May 2004 08:47:41 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id B975B69A71; Thu, 20 May 2004 11:47:39 -0400 (EDT) Message-ID: <40ACD318.4050009@potentialtech.com> Date: Thu, 20 May 2004 11:47:36 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040506 X-Accept-Language: en-us, en MIME-Version: 1.0 To: carvin5string References: <20040520141445.50289.qmail@web40408.mail.yahoo.com> In-Reply-To: <20040520141445.50289.qmail@web40408.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: cron can't find root or operator X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 15:47:41 -0000 carvin5string wrote: > I have a new server set up and running and am getting a slew of > messages from cron, like this - > > Subject: Cron root /usr/libexec/atrun > Body: root: not found > > and > > Cron operator /usr/libexec/save-entropy > operator: not found > > What's going on with cron? You've got a user's crontab created in the format of the system crontab. The system crontab has an extra field to designate the user under which the job should run. When this field is entered in a user's crontab, cron interprets it as the command to be run and the errors you describe generally result. Keep in mind that the user "root" has a user crontab that is different from the system crontab. If you're still fuzzy as to what went wrong, reading the man pages for crontab (in addition to my explanation) should help. good luck. -- Bill Moran Potential Technologies http://www.potentialtech.com