<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New">Hi all</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New">I recently ported mrtg over to Linux (redhat 6.0)
and so far it's working good. The only fly in the ointment is getting cron to
work. I have created a script which calls all the config files and things I
need, and when run manually, this works fine. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New">However when I tried using crontab to add it to
the user crontab file, it accepts the file but doesn't appear to run when
required. The crontab listing is below : </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New">[mrtguser@noclin mrtg-2.8.8]$ crontab -l<BR># DO
NOT EDIT THIS FILE - edit the master and reinstall.<BR># (/tmp/crontab.4118
installed on Tue Sep 14 18:16:32 1999)<BR># (Cron version -- $Id: crontab.c,v
2.13 1994/01/17 03:20:37 vixie Exp $)<BR>0,5,10,15,20,25,30,35,40,45,50,55 * * *
* /apps/mrtg-2.8.8/mrtgsched</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">The aim is to have cron run the mrtgsched script
every five minutes. The script itself specifies all config files and binaries by
their fully qualified paths so I don't think it's a path related issue. Besides,
there isn't any mail being sent to the mrtg user - I understand cron would
send a mail if it has problems running the file.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New">Has anyone experienced any similar issues and if
so, how did they fix them?</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Thanks,</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Neil</FONT></DIV>
<DIV><FONT face="Courier New"><BR> </DIV></FONT></BODY></HTML>