[mrtg] Re: No Data when run as Cronjob

Leif Neland leifn at neland.dk
Mon Oct 23 19:33:25 MEST 2000


> Anyone have any ideas why I am having the following problem?
>
> I telnet to my slackware system and run the mrtg job manually (which is
monitoring Portmasters with pm3lines.pl) and it collects data properly,
however when I run the job from my crontab, it no longer collects data from
the external program (pm3lines.pl).  It still appears to work properly for
the routers though.
>

It could be a different PATH when running from cron than when running by
hand.
Try giving full path to everything.

Leif




--
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