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

Re: set clock to GMT?



On: Thu, 27 Aug 1998 20:49:52 +0200 Rafael Cordones Marcos writes:

> To have my linux box set to GMT I first used the date command to set
> the system time and then used "hwclock --utc --systohc" to set the
> hardware clock to the same time as the system.
> 
> By the way, (for anybody listening) when I live my PC on for several
> days I have found that the hardware clock and th system time differ
> in HOURS.  Is that OK? Should I use cron to update the hardware
> clock every now and then?

What are the outputs of date[1] and hwclock --utc?  Is the difference of
HOURS still there?[2]  If yes, you should read the manpage on hwclock
regarding automatically adjustments.

	Torsten

Footnotes: 
[1] date should output your timezone as part of the output, e.g., I
have the MET (Central European Time) configured and get the output
CEST (S for summer time).

[2] I currently have a difference of 2 seconds.


Reply to: