Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Subject: RE: Cron malfunction after date change Date: Fri, 5 Nov 2004 11:26:05 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark" To: "Jacek Trzmiel" , X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iA5GSXAd002058 > > cron.log, crontab.txt and cygcheck.txt attached. Stopping > and starting > cron is workaround that does resume correct cron behaviour, up until > next date change. I've been able to reproduce this > (http://cygwin.com/ml/cygwin/2004-11/msg00153.html) problem also on > WinXP with slightly older cygwin1.dll version: > 1.5.11-snapshot-20040720-12:03:09. > I concur. It appears to be a bug in cron, or Cygwin's version of cron. The following fails to work correctly for me: 1. Create the following crontab entry: * * * * * /usr/bin/date >> /tmp/date.txt 2. Start cron as a service and wait one minute. Cron adds a line to /tmp/date.txt. 3. Using Windows's "Adjust Date/Time" applet, set the date to the previous day. 4. Wait one minute, and cron adds another line to /tmp/date.txt. 5. Using Windows's "Adjust Date/Time" applet, set the date to the current day. 6. Wait one (or more) minute, and cron does NOT add another line to /tmp/date.txt. Cron should resume updating /tmp/date.txt. If I stop the cron service and restart it, then cron resumes updating /tmp/date.txt. --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/