From: "Paul B. Brown" <pbrown@btechnet.com>
To: axp-list <axp-list@redhat.com>
Subject: Re: off-topic: problem with cron Daemon
Date: Thu, 28 Jan 1999 14:56:36 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.3.95.990128145409.4252A-100000@mail.btechnet.com> (raw)
In-Reply-To: <Pine.LNX.3.96.990128142052.10640A-100000@bec.physics.udel.edu>
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 <root@bec.physics.udel.edu>
> To: root@bec.physics.udel.edu
> Subject: Cron <root@bec> 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
>
prev parent reply other threads:[~1999-01-28 19:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-28 19:29 off-topic: problem with cron Daemon Jonathan L Dubois
1999-01-28 19:39 ` Paul Tomblin
1999-01-28 19:56 ` Paul B. Brown [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox