[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crontab error
Mike wrote:
>
> Here is the crontab file
>
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
My crontab has SHELL=/bin/sh (SuSE 6.1) so as long as /bin/sh
exists, no problem!
I do NOT use a HOME=/ (or HOME= at all on my personal box)
> 0-59/5 * * * * root /usr/bin/mrtg /mrtg/main-lizard.cfg
> #0-59/5 * * * * root /usr/bin/mrtg /mrtg/main-lizard.cfg
What does the output of /usr/bin/mrtg --help give you (&/or a
man page?) and *can* you pass /mrtg/main-lizard.cfg on to
/usr/bin/mrtg?
Do you have permissions on the directory /mrtg and the files in
it set for your user?
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