Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 1997 22:19:30 -0400 (EDT)
From:      Nathan Dorfman <nathan@senate.org>
To:        kent@erlang.ericsson.se
Cc:        darin@media-net.net, questions@FreeBSD.ORG, kent@erlang.ericsson.se
Subject:   Re: how do I set the time?
Message-ID:  <199707100219.WAA06711@limbo.senate.org>
In-Reply-To: <199707100124.DAA03060@townsend.ericsson.se> from Kent Boortz at "Jul 10, 97 03:24:14 am"

next in thread | previous in thread | raw e-mail | index | archive | help
You can have cron run "ntpdate tick.usno.navy.mil" every midnight or so. tick
and tock are U.S. military atomic clock sites (pretty accurate :>).

> 
> Run "date" with an argument as root. See "man date". A small extract
> 
>      The command:
> 
>            date 8506131627
> 
>      sets the date to ``June 13, 1985, 4:27 PM''.
> 
>      The command:
> 
>            date 1432
> 
>      sets the time to 2:32 PM, without modifying the date.
> 
> If you have a portable that you sometimes connect in a network and
> want to set the time to match theirs you can connect to a "time
> server". I use
> 
>   % ntpdate erlang
> 
> because "erlang" runs "xntd".
> 
> /kgb
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707100219.WAA06711>