From owner-freebsd-questions Fri Jan 4 16:22:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 11A4E37B41E for ; Fri, 4 Jan 2002 16:22:48 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g050Msf03350; Sat, 5 Jan 2002 01:22:54 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Date: Sat, 5 Jan 2002 01:22:54 +0100 (CET) Message-Id: <200201050022.g050Msf03350@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: clock problem In-Reply-To: <5.1.0.14.0.20020104174545.03fbdc90@pop3s.schulte.org> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Christopher Schulte wrote: > At 11:45 PM 1/4/2002 +0100, Oliver Fromme wrote: > >Christopher Schulte wrote: > > > You can cron `ntpdate` to update the clock every minute. > > > > Much more reasonable would be to run ntpdate once during > > boot and then run the ntpd daemon. Do not run ntpdate with > > cron. > > I have a central ntp server on my network, by which all hosts ntpdate via > cron. I prefer this method as one static crontab line keeps every system > on check. Since no clock will ever deviate by even a second between polls, > I don't have to worry about sudden time changes. > > Reasonable? Sure. Elegant? Maybe not. Works? Yup! I disagree. Running ntpd has a lot of advantages, and I don't see a single advantage in running ntpdate via cron once per minute. This is just terribly inefficient and can cause subtle problems, in particular when one of the clocks really dies. And when your NTP server is offline for some reason, the clocks start diverging much faster. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message