| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| Subject: | RE: Cron malfunction after date change |
| Date: | Mon, 8 Nov 2004 11:23:58 -0500 |
| Message-ID: | <BADF3C947A1BD54FBA75C70C241B0B9E90BD2C@ex02.svr.idirect.net> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "Harig, Mark" <maharig AT idirect DOT net> |
| To: | <cygwin AT cygwin DOT com> |
| X-IsSubscribed: | yes |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |