Here is the crontab file

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
#0-59/5 * * * * root run-parts /etc/cron.5min
00 * * * * root run-parts /etc/cron.hourly
00 00 * * * root run-parts /etc/cron.daily
00 00 * * 0 root run-parts /etc/cron.weekly
00 00 1 * * root run-parts /etc/cron.monthly

0-59/5 * * * * root /usr/bin/mrtg /mrtg/main-lizard.cfg
#0-59/5 * * * * root /usr/bin/mrtg /mrtg/main-lizard.cfg



Ariel Biener wrote:

> On Sat, 24 Jul 1999, Jeff Rose wrote:
>
> That is not the problem:
>
> His crontab is trying to run:
>
> root /usr/bin/mrtg /mrtg/main-lizard.cfg
>
> and /bin/bash: is sending a response:
>
> /bin/bash: root: command not found
>
> Can we see the crontab file ?
>
> --Ariel
>
> > 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:[EMAIL PROTECTED]
> >   [Gtk]ICQ: 10400141   [G]AIM: JeffRoseFL
> >
> > =================================================================
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> >
>
> --
> Ariel Biener
> e-mail: [EMAIL PROTECTED]           Work phone: 03-640608
> fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to