[mrtg] Problem running mrtg from crontab

Dave Parker dparker at pallisersd.ab.ca
Tue Dec 5 21:41:13 MET 2000


I am running mrtg 2.9.4 on a solaris 2.6 os. I am trying to run mrtg as
a cronjob, but none of the graphs or the .log file in the workdir
update, but the .html and the .ok file do update.  When I run mrtg from
the command line, everything updates fine.

My crontab entry looks like:
0,5,10,15,20,25,30,35,40,45,50,55 * * * *
/usr/local/mrtg-2.9.4/bin/mrtg  /usr/local/mrtg-2.9.4/bin/mrtg.cfg

I have tried running mrtg in a shell script with the above path, but the
results are the same.

Any suggestions?

Thanks,
Dave Parker



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list