[PLUG] Setting the time

Christopher N. Deckard cnd@ecn.purdue.edu
Thu, 08 Feb 2001 10:50:52 -0500


Sync with the atomic clock and use xntpd.

-Chris

Patrick K Notz wrote:
> 
> Aaron Lehmann writes:
>  > What is the call used to set the time?  I found one, but it needs milliseconds since 1970...  Is there a program out there that takes more intelligent input?
>  >
> 
> use: date --set="DATE STRING"
> 
> as root where DATE STRING looks like the ouput of date.
> 
> I usually use this command to sync my machine's clock with my server
> at school (atom.ecn....):
> 
> date --set="`ssh -l notz atom date`"
> 
> pat
> ____________________________________________________
> The Purdue Linux Users' Group (PLUG) mailing list.
> For account maintenance, go to:
> plug mailing list  -  plug@csociety.purdue.edu
> http://csociety.ecn.purdue.edu/mailman/listinfo/plug

-- 
--------------------------------------------------------------------
    Christopher N. Deckard      |     Lead Web Systems Developer
      cnd@ecn.purdue.edu        |    Engineering Computer Network
  http://www.ecn.purdue.edu/    |         Purdue University 
---------- By "recursion" I mean "defined by recursion". -----------