[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Question on cron job



On Fri, 02 Jun 2000 14:25:22 -0500, Ron Bramblett wrote:

>I have a Linux RedHat server running 6.2 and since I upgraded to 6.2 I
>am now getting an error on my cron job. There are errors every hour and
>every day. It is getting crazy.
>
>Here is what I am getting ,
>
>/bin/sh: root: command not found
>
>Where is it coming from and how do I fix it?? Any ideas.
>I know that it is coming from the crontab but I can su - to root and
>then type in the command that it starts every hour with out problems. I
>just can't do it automatically with cron.

Make sure cron can find the file.  Use the full path/name and/or ensure
that the crom PATH environment is set to include the directory where your
command lives.  Check /etc/crontab to see how its currently set.


John (john thompson attglobal net)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]