From owner-freebsd-questions Wed Feb 21 13:27:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.toronto.istar.net (mail1.toronto.istar.net [209.89.75.17]) by hub.freebsd.org (Postfix) with ESMTP id BCBE837B491 for ; Wed, 21 Feb 2001 13:27:02 -0800 (PST) (envelope-from genisis@istar.ca) Received: from d141-118-73.home.cgocable.net ([24.141.118.73]) by mail1.toronto.istar.net with esmtp (Exim 2.02 #1) id 14VgmE-0007bQ-00; Wed, 21 Feb 2001 16:26:22 -0500 Date: Wed, 21 Feb 2001 16:17:30 -0500 (EST) From: Dru X-Sender: genisis@x1-6-00-00-b4-94-9d-3f.kico1.on.home.com To: Jim McIver Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cron mail In-Reply-To: <3A93BF94.6321.97038C8@localhost> 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 Hi Jim, What were you trying to add to your crontab? Sounds like you need to edit it with the "e" switch. You might find this tutorial helpful: http://www.oreillynet.com/pub/a/bsd/2000/09/27/FreeBSD_Basics.html Cheers, Dru On Wed, 21 Feb 2001, Jim McIver wrote: > Me again... I was following the Compete FreeBsd book along and > came to a section that said to type "crontab crontab" to install and run > the crontab. > > Now every 5 minutes root gets an email. Something like: > Cron root > From: root > To: root > x-cron-env > etc.... > > root not found > > I've killed cron to stop the message, but why is it doing this? > > My shell is set to /bin/csh and I've tried changing it back to /bin/sh, > (chsh)but the messages just keep coming. > > Only line I can see in the crontab file that's causing this is: > /5 * *........root /usr/libexec/atrun > > I can't seem to come up with enough info on atrun to help, or how to > tell Cron-env that the shell is now /bin/csh. > > Any ideas? > > > Jim McIver > > 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