Re: Cron job without emailing errors to root?

2004-03-17 Thread Jonathan Arnold
[EMAIL PROTECTED] wrote: A quick question-- I run MRTG for many boxes on my network at five minute intervals, and I am seeing massive amounts of email filling up roots inbox due to boxes that are currently offline for the night or something. What I am wondering is, is if there is a way to still hav

Re: Cron job without emailing errors to root?

2004-03-16 Thread Toomas Aas
Hi! > What I am wondering is, is if there is a way to still have the entries in > me /etc/crontab to run MRTG at 5 minute intervals without having any > output emailed out. You can set up MRTG to run as daemon using the RunAsDaemon keyword in the .cfg file. This way you don't need to run it fro

Re: Cron job without emailing errors to root?

2004-03-10 Thread Quintin Riis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See documentation for crontab. ``MAILTO=""'' should do what you want, or send all output from command to /dev/null, i.e. command &> /dev/null Quintin [EMAIL PROTECTED] wrote: | A quick question-- | I run MRTG for many boxes on my network at five min

Re: Cron job without emailing errors to root?

2004-03-10 Thread Khairil Yusof
On Tue, 2004-03-09 at 21:25 -0600, [EMAIL PROTECTED] wrote: > What I am wondering is, is if there is a way to still have the entries in > me /etc/crontab to run MRTG at 5 minute intervals without having any > output emailed out. can i make it come out to concole instead? anything to > get it from

Re: Cron job without emailing errors to root?

2004-03-09 Thread Frank Mueller
See "man 5 crontab": If MAILTO is defined (and non-empty), mail is sent to the user so named. If MAILTO is defined but empty (MAILTO=""), no mail will be sent. So just add the following entry to your /etc/crontab: MAILTO="" and cron will send no more eMails. > A quick question-- > I run MRTG for