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

Re: setting time via a server?



On Wed, 16 Jul 1997, Colin R. Telmer wrote:

> I currently use a small script/executable combination named st/gettime to
> set my system clock via an atomic server. This is done as a cronjob at
> 3am and immediately after the system time is written to the cmos time
> (clock -w). For some unknown reason, once and awhile when I come in to my
> office in the morning, the time is correct, but the date is advanced
> forward by one day. Is there some other method of doing this that will set
> the date as well as the time from a internet server? st will only do the
> time. Also, I would prefer not to run xntp - it seems wasteful to me to
> have it running continuously to just set the clock every 24 hours. Can
> xntp be used as a one-off program and put into a crontab? Cheers.

Try netdate or rdate.

 ----------------  http://www.sound.net/~wpmills/  -----------------
: W. Paul Mills          : Bill, I was there several years ago.     :
: Topeka, Kansas, U.S.A. : Why would I want to go back tomorrow?    :
: wpmills@midusa.net     : Where were you!                          :
: wpmills@sound.net      : ---------------------------------------- :
: paulmills@bix.com      : Linux:     Tomorrow's operating system,  :
: paulmills@aol.com      :            here, today.                  :
: PAULMILLS@delphi.com   : ---------------------------------------- :
: compuserve 70023,1750  : #define MY_TRUE_LOVE computer            :
 --------------  http://homepage.midusa.net/~wpmills/  -------------


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: