On Fri, Dec 24, 2004 at 02:22:10AM +0000, 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 you (according to MAILTO).  The standard cron scripts don't
output anything unless something goes wrong (e.g. you type killall
updatedb while it's running).  Your ntp script will output stuff even
when it goes right, hence the message.

You should do something like:

  ntpdate -s pool.ntp.org

the -s puts the messages in syslog instead of stdout,
to quote the manpage, "primarily for convenience of cron scripts"

(speaking of which, my ntpdate script obviously isn't working,
my clock was wrong again!)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to