delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
Subject: | Resetting time via time server doesn't affect cygwin 'date' |
From: | ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson) |
Date: | Wed, 30 Mar 2011 14:10:37 +0100 |
Message-ID: | <f5bpqp8wy7m.fsf@calexico.inf.ed.ac.uk> |
User-Agent: | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) |
MIME-Version: | 1.0 |
X-Edinburgh-Scanned: | at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I'm running 1.7.9-1 on my 64-bit Windows 7 laptop. I recently noticed that my box was 15 seconds adrift from my Linux desktop. After some minor hassles, I was able to use Clock/Date and Time/Internet Time/Change Settings/Update now to sync with a local ntp server, the same one my desktop is using. At this point the Windows clock on the laptop and my desktop were in sync, but 'date' from a bash window was _still_ 15 seconds out. Is this a pervasive problem (to test this yourself, just use the Windows UI to set your clock forward a minute, test the 'date' (it should be as per Windows clock), then use the above path to resync with a time server, and observe that 'date' is _not_ adjusted back), or particular to Windows 7/Cygwin 1.7.9? I found vsntp [1] which fixed the problem, but is as far as I can see overkill as it's designed to fix a much more serious problem . . . ht [1] http://www.imacat.idv.tw/tech/vsntp.html -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht AT inf DOT ed DOT ac DOT uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |