| 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: | Fri, 5 Nov 2004 11:26:05 -0500 |
| Message-ID: | <BADF3C947A1BD54FBA75C70C241B0B9E90BD28@ex02.svr.idirect.net> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "Harig, Mark" <maharig AT idirect DOT net> |
| To: | "Jacek Trzmiel" <sc0rp AT hot DOT pl>, <cygwin AT cygwin DOT com> |
| X-IsSubscribed: | yes |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |