[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ntpdate

Why not run ntpd to do this rather the cron and ntpdate. You then
get more graceful changes in the time.

You will see some log messages when the time changes, but not
that often. My system issued 9 in a month of continues use.

The other way is to prevent the mail is to make sure no output
occurs in the cron job. Wrap the ntpdate command in a sh script
that redirects stdout and stderr to /dev/null and the mail will vanish.


-----Original Message-----
From: Pavel Hlubík [mailto:hlubik_(_at_)_dashofer_(_dot_)_cz] 
Sent: 21 May 2003 10:36
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: ntpdate


can someone help me with next problem. Via crontab I run ntpdate
command. Each time the command is run Cron Daemon mails to root next

21 May 11:30:01 ntpdate[19449]: adjust time server
offset -0.089525 sec

Is it possible to stop it? Thank you very much.

Pavel Hlubik

Visit your host, monkey.org