Re: cron.daily, howto control mailed reports

2004-12-23 Thread Sam Watkins
On Fri, Dec 24, 2004 at 02:22:10AM +, Joao Clemente wrote: > Why do I receive daily reports (in my mail system) from this particular > script being runned, but not from other also existant in /etc/cron.daily? If any cron script outputs anything on stdout or stderr, the output is emailed to yo

Re: cron.daily, howto control mailed reports

2004-12-23 Thread Joao Clemente
Benjamin A'Lee wrote: On Fri, Dec 24, 2004 at 02:22:10AM + or thereabouts, Joao Clemente wrote: Why do I receive daily reports (in my mail system) from this particular script being runned, but not from other also existant in /etc/cron.daily? If you want it to run silently, you can put MAILTO=

Re: cron.daily, howto control mailed reports

2004-12-23 Thread Robert Vangel
Sorry, ignore mine. I completely misread the question :\ Robert Vangel wrote: set the MAILTO variable in the script eg #!/bin/bash MAILTO="[EMAIL PROTECTED]" /etc/init.d/ntpdate restart afaik, that would work. Joao Clemente wrote: Hi people. In a server I setup recently I tougth of keeping the cloc

Re: cron.daily, howto control mailed reports

2004-12-23 Thread Benjamin A'Lee
On Fri, Dec 24, 2004 at 02:22:10AM + or thereabouts, Joao Clemente wrote: > Why do I receive daily reports (in my mail system) from this particular > script being runned, but not from other also existant in /etc/cron.daily? > If you want it to run silently, you can put MAILTO="" in /etc/cront

Re: cron.daily, howto control mailed reports

2004-12-23 Thread Robert Vangel
set the MAILTO variable in the script eg #!/bin/bash MAILTO="[EMAIL PROTECTED]" /etc/init.d/ntpdate restart afaik, that would work. Joao Clemente wrote: Hi people. In a server I setup recently I tougth of keeping the clock sinc'ed by running ntpdate daily. I wrote a script calling /etc/init.d/ntpd