[EMAIL PROTECTED] (Andreas J. Koenig) writes:

> >>>>> On Fri, 28 Mar 2008 09:47:42 +0000, Barbie <[EMAIL PROTECTED]> said:
> 
[...]
> 
>   > As far as I'm concerned this is not a failure, and looks bad for me, as
>   > I don't make a habit of correcting the clock on my machine every time I
>   > do a release.
> 
> Maybe you could hook your machine to NTP service? Then you would never
> have to correct your time manually again. NTP is free of charge and
> low on bandwidth consumtion. Are there any reasons why you cannot/want
> not use it?
> 

If for some reason it's not possible to use NTP, then you can just
check your clock against some daytime service with a simple perl
one-liner:

$ perl -MIO::Socket::INET -e 'print IO::Socket::INET->new(PeerHost => 
"time.fu-berlin.de", PeerPort => "daytime")->getline; print scalar localtime, 
"\n"'
Sat Mar 29 17:17:06 2008
Sat Mar 29 17:17:07 2008

Note that it seems that this server uses local time, so you would need
to adjust the difference between CE(S)T and GMT(/BST).

Last time I looked at Windows Vista it seemed that NTP is enabled by
default there.

I would also like to add that clock+timezone problems may cause other
problems. See

    http://use.perl.org/comments.pl?sid=37917&cid=59559

Regards,
    Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de

    tksm - Perl/Tk program for searching and replacing in multiple files
    http://ptktools.sourceforge.net/#tksm

Reply via email to