Re: How do I synchronize my hardware clock to GMT ?
From: Brian Reiahle (reply_at_the.newsgroup)
Date: Mon, 27 Sep 2004 07:22:23 +1000
Nick Leverton wrote:
> In article <email@example.com>,
> Mark Hobley <firstname.lastname@example.org> wrote:
>>My PC Hardware clock is configured to GMT. I require a package that I can
>>run from the cron (possibly once every couple of days) that will connect to a
>>public internet time server, and synchronize the hardware clock to GMT.
>>What package can I use for this ? I am using Debian.
> Ntp as others say will keep the system clock up to date, but I don't
> think it syncs the hardware clock until you shut down. You'd need
> a cron task of your own to do "hwclock -w". I can't see such a call
> in the Debian cron scripts, and I have found on RH7 at least that a
> powerfail after correcting the system clock (however many days later)
> will return to the pre-correction time.
I remember reading something about the kernel auto syncing the hardware
clock every 11 minutes or so. can anyone confirm/deny?