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

Re: Question on cron job



When cron runs, it doesn't have much of a path
(IIRC, it doesn't have any).  Therefore, you
might want to try specifying the full path to
any binaries you call.

	- Kevin Colby
	  kevinc grainsystems com


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.
> 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.
> 
> --
> Ron Bramblett
> Systems Administrator
> The Fuller Brush Company



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