Linux clock-setting script

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Sun Jul 7 23:35:21 EDT 2002


William Park <opengeometry at NOSPAM.yahoo.ca> writes:
> I've found a partial solution.  I'm now using,
>     ntpdate time.apple.com time.windows.com time.nrc.ca ntp1.cmc.ec.gc.ca
> where 'ntpdate' comes from NTP package.  Still, shell solution would be
> desireable, because I sometime don't have access to Perl, Python, or NTP
> packages.  But, I do have access to shell all the time.
> 
> I'll update when I find solution. :)

I didn't know about ntpdate.  I don't know of any way to open sockets
from a shell script without something like perl, but maybe there is one.
Awk might be another possibility.



More information about the Python-list mailing list