[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crontab error
Mike wrote:
>
> Hi all.
> I'm keep getting this error mesage in my root mail :
>
> Subject: Cron <root@linux> root /usr/bin/mrtg /mrtg/main-lizard.cfg
>
> /bin/bash: root: command not found
>
> my cron table looks like this :
>
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
You probably already have an accurate response, however:
Do you have a symbolic link from /bin/sh to /bin/bash?
Is there even a /bin/bash existing in your /bin directory?
Otherwise, I'll let the *NIX veterans help you here!
Cheers, Jeff
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeff Rose Everyone's Linux User Group (ELUG)
http://www.elug.org mailto:uadmin@elug.org
[Gtk]ICQ: 10400141 [G]AIM: JeffRoseFL
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il