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

Re: Question on cron job



On Fri, 2 Jun 2000, Ron Bramblett wrote:

> Hello,
> 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.

please try specifying the full paths for the commands in question..ie like
"/usr/sbin/sendmail" instead of just "sendmail"...if this to fails just do
a crontab -l (which would list the cron file) and post the output here and
you should get the help you need......


> 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.

Most probably a path problem...try using the full path names and it should
be ok...

Grendel

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)




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