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

Re: How to set time



Incoming from Alvin Oga:
> On Wed, 28 Jul 2004, Paul Johnson wrote:
> 
> > > 	root#  hwclock --systohc
> > >
> > > reboot and test that time is set correctly ..
> > 
> > Forgot part two:
> > 
> > apt-get install chrony
> 
> nah .. i figured if one couldn't figure out/find "date" ...

Speaking of date, can anyone explain how --adjust works?  I do:

  date -s '+Sat Jul 28 14:23:25 UTC 2004'
  hwclock --adjust
  hwclock --systohc

Is that how it's supposed to be used to update /etc/adjtime to
calculate drift?

I'd rather do it myself instead of relying on chrony/ntpd.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: