Trouble with script fetching site
John J. Lee
jjl at pobox.com
Wed Sep 3 10:23:15 EDT 2003
Peter Hansen <peter at engcorp.com> writes:
> Stephen Boulet wrote:
> >
> > I'm trying to parse a url to set my hardware & system clock (linux).
>
> I can't help with the problem at hand, but I also don't see the
> reason to do it. Why not just access an NTP server and grab the
> time the "proper" way? Using a web page is a roundabout way of
> doing it.
Right.
> There's a nice setclock.py script which Google can
> point you to which does the job much more easily.
On my system, the ntpdate command works nicely. I run it my PPP
scripts.
John
More information about the Python-list
mailing list