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-1" Subject: RE: Cron malfunction after date change Date: Mon, 8 Nov 2004 11:23:58 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark" To: X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iA8GW20M019212 > > >>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. > > Can anyone point to some documentation which states that cron is > supposed to gracefully handle date changes? Personally, I've always > restarted cron after a date change since I've noticed > behavior like this > on linux in the past. If that has been fixed, however, that > would be an > interesting data point for linux (off-topic) and cygwin (on-topic). > The original problem ("cron is not running over the course of a 24-hour date change") is not a Cygwin-specific problem, i.e., Cygwin's cron appears to work when asked to perform a task once a day at a specified time. I wrote a simple cron table entry 1 1 * * * /usr/bin/date >> /tmp/date.txt 'cron' ran this task for me for the past three days without errors or intervention. I do not know whether the secondary problem ("cron fails to run without a restart if there has been a date change outside of the normal clock") is cron specific or Cygwin specific. --- -- 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/