network time (Re: [ILUG] Re: unison)

From: kevin lyda (kevin at domain suberic.net)
Date: Sat 12 Feb 2000 - 01:05:21 GMT


John McCormac wrote:
> #!/usr/bin/tclsh
> set sockid [socket ntp.maths.tcd.ie 13]
> gets $sockid newdate
> puts $newdate
> set e [exec date -s $newdate]
>
> The tcl code appears leaner, (I was worried that it was too lean), than
> the Perl equivalent. What would really be interesting would be if
> someone could achieve something approaching AOLserver's pooling with
> Apache and mod-tcl.

*shock*

rdate -s ntp.maths.tcd.ie

kevin

-- 
kevin at domain suberic.net                              Nutrition Facts
fork()'ed on 37058400		       Puns: 100% RDA  (% good puns: 0)


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:24 GMT