[mrtg] Re: Newbie question

Isaac Grover isaac at coe.engr.sjsu.edu
Tue Aug 29 20:38:01 MEST 2000


I'm not sure if this will serve as evidence of my efficiency or my laziness, but
when running multiple config files through cron I found that using lines such as:

*/5 * * * * <program> <config>  # every five minutes
*/10 * * * * <program> <config>  # every ten minutes
*/10+5 * * * * <program> <config> # every ten minutes offset by five minutes ( =
5,15,25,35,45,55 )

made my crontabs easier to read, and gave me a few more seconds to work on more
important things.  =)

Isaac

jerin c justin wrote:

> you would find mrtg under the run directory ...
>
> add in the entire path for eg:
>
> /home/mrtg-2.8.11/run/mrtg (path to the config file)
>
> an eg crontab entry would be:
>
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/mrtg-2.8.11/run/mrtg
> /home/mrtg-2.8.11/run/nj-gw2.cfg
>
> Jerin
>
> Nabil Fares wrote:
>
> > Greetings,
> >
> > Could you guys tell me what the syntax is to run MRTG as a cron job.  my web
> > directory is /home/httpd/html/mrtg and the mrtg config files (cisco1.cfg)is
> > located in the /home/httpd/html/mrtg directory.  I'm running RD6.2
> >
> > Thanks,
> >
> > Nabil


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