Wayne,<br><br>Is this a Linux box? If so, you might consider setting up NTP to sync to an outside time source. We do that here and it works quite well, even accounting for drifting. If this is a Windows machine, I believe those are already synced with the PDC, if joined to a Domain, but I might be wrong.<br>
<br>Jason<br><br><div class="gmail_quote">On Sat, Apr 19, 2008 at 10:45 AM, Wayne Watson <<a href="mailto:sierra_mtnview@sbcglobal.net">sierra_mtnview@sbcglobal.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a Python program that runs 24/7, but is activated around dusk and<br>
de-activated from its task around dawn. My clock drifts about 4 sec/day.<br>
Is there some function that will fetch the correct time from the<br>
internet and reset the clock? I'd like to reset the clock each time the<br>
program is activated at dusk.<br>
<br>
--<br>
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)<br>
<br>
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)<br>
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet<br>
<br>
"Philosophy is questions that may never be<br>
answered. Religion is answers that may never<br>
be questioned" -- Anon<br>
<br>
Web Page: <<a href="http://www.speckledwithstars.net/" target="_blank">www.speckledwithstars.net/</a>><br>
<br>
_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</blockquote></div><br>