timesync with python?

M.-A. Lemburg mal at lemburg.com
Thu Sep 9 05:33:30 EDT 1999


Holger Jannsen wrote:
> 
> High there,
> 
> I'm again on this channel with another problem.
> 
> There is a timeserver running on linux and wan't to
> syncronise several Linux-, Win95/98/NT- and Novell-Clients to it.
> 
> I thought of doing that by python in an easy way.
> It just have to start a periodical OS-procedure like 'net time'
> or something like that. Ok, this would be easy to realize, wouldn't it?
> 
> But I also thought that someone has an idea about that before
> and did it likely better than me. So, do you know a weblink
> to a script which already nearly does what I need? Perhaps
> directly with interrogation at port 37 NTP?
> 
> Need no GUI, just a script started e.g. by autostart and syncro
> time periodically. Even if there exists a special module for that,
> please, tell me!

Have you had a look at mxDateTime (see my Python Pages) ? It
doesn't do NTP, but knows about the NIST time standard service
and has lots of stuff related to date/time handling.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                                   113 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/





More information about the Python-list mailing list