Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: msilkjr on August 06, 2004, 05:55:55 AM

Title: HELP !! Cron <root@barnemailgate> /etc/mrtg/all-ip
Post by: msilkjr on August 06, 2004, 05:55:55 AM
I tryed to install MRTG it worked and then a day later I started to get emails every 5 min say it couldn't find a file, so I removed MRTG well I must of missed something. I get emails every 5 min still saying "/bin/bash: /etc/mrtg/all-ip: No such file or directory" How do I fix This ? Please Help
Title: disable mrtg
Post by: bigbri100 on August 07, 2004, 04:28:16 PM
open
 /etc/e-smith/templates-custom/etc/crontab/mrtg
in your favorite text editor and remove the line
0-59/5 * * * * root /etc/mrtg/all-ip

Then run  
/sbin/e-smith/expand-template /etc/crontab

You can add it back and expand the template if you change your mind.