From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10729 invoked from network); 28 Jan 1999 19:57:31 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Jan 1999 19:57:31 -0000 Received: from mail.btechnet.com (pbrown@mail.btechnet.com [209.122.149.44]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA16520 for ; Thu, 28 Jan 1999 14:56:39 -0500 Received: from localhost (pbrown@localhost) by mail.btechnet.com (8.7.5/8.7.3) with SMTP id OAA04266 for ; Thu, 28 Jan 1999 14:56:36 -0500 Date: Thu, 28 Jan 1999 14:56:36 -0500 (EST) From: "Paul B. Brown" To: axp-list Subject: Re: off-topic: problem with cron Daemon In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hummm . . . the format of the cron job is wrong. What is root and then run-parts? Are they executables that can be found by cron? If not, edit the cron entries for the correct format. --------------------------------------------------------------------------- Paul B. Brown pbrown@btechnet.com President Brown Technologies Network, Inc. http://www.btechnet.com/ Unix Systems Administration "Sailing is a state of mind . . . ." --------------------------------------------------------------------------- On Thu, 28 Jan 1999, Jonathan L Dubois wrote: > I keep getting errors mailed from the cron daemon like the following: > > Date: Fri, 22 Jan 1999 15:01:00 -0500 > From: Cron Daemon > To: root@bec.physics.udel.edu > Subject: Cron root run-parts /etc/cron.hourly > > /bin/bash: root: command not found > > ---- > > crontab looks like : > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=root > > # run-parts > 01 * * * * root run-parts /etc/cron.hourly > 02 1 * * * root run-parts /etc/cron.daily > 02 2 * * 0 root run-parts /etc/cron.weekly > 02 3 1 * * root run-parts /etc/cron.monthly > > --- > > ls -l /bin/bash > -rwxr-xr-x 1 root root 488992 Nov 7 1997 /bin/bash > > --- > > ls -l /usr/bin/run-parts > -rwxr-xr-x 1 root root 283 Oct 24 1997 /usr/bin/run-parts > > --- > > ls -l /etc/cron.hourly/ > total 1 > -rwxr-xr-x 1 root root 50 May 28 1998 inn-cron-nntpsend > #!/bin/sh > su - news -c /usr/lib/news/bin/nntpsend > > > --- > > > any ideas? > > thanks, > Jonathan DuBois > > > > > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com >