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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 11 Aug 2003 11:20:25 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT harrier DOT ch cc: cygwin AT cygwin DOT com Subject: RE: Problem with cron! In-Reply-To: <200308110911.h7B9BVXt019765@no14.dca1.superb.net> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 11 Aug 2003 cygwin at harrier dot ch wrote: > ...> From: Igor Pechtchanski > ...> Date: Sun, 10 Aug 2003 14:17:50 -0400 (EDT) > ...> Subject: RE: Problem with cron! > ...> > ...> -------------------------------------------------------------------------------- > ...> > ...> On Sun, 10 Aug 2003 cygwin AT harrier DOT ch wrote: > ...> > ...> > Salutations! > ...> > I get the identical symptoms on WIN98SE. > ...> > [snip] > ...> > [It must be mentioned that I do not have cron > ...> > installed as a service, but start it by hand > ...> > in a bash after each reboot. I have not been > ...> > able to get any of the procedures I have found > ...> > to install cron as a service to do the job.] > ...> > ...> Services only work on NT-based versions of Windows, e.g., WinNT, Win2k, or > ...> WinXP. There is no concept of services on Win9x. > I figured as much, but it has not been significant > enough for me to research. It suffices me to start > cron from a bash which runs while the machine is up. > > ...> > Last week I downloaded and updated my installed > ...> > configuration with the latest. From this point > ...> > in time, cron has refused to work - by this I > ...> > mean that all crontab functions appear to function > ...> > as usual, the cron task appears in ps and Mark > ...> > Harig's cron_diagnose.sh script does not indicate > ...> > any errors. However my tasks are still not run. > ...> > ...> What manner of tests did you use to find out whether cron works? Did you > ...> try the cron equivalent of "hello world" (i.e., "/usr/bin/date >> > ...> /tmp/date.log")? > That's the one. > > ...> > I have been able to circumvent my difficulty > ...> > by overwriting cron.exe from cron-3.0.1-10.tar.bz2 > ...> > with cron.exe from cron-3.0.1-8.tar.bz2, so I'm > ...> > satisfied for the moment, but thought someone > ...> > might want to know about the difference. > ...> > ...> There are only 2 minor Cygwin-specific releases between those two, which > ...> basically means that you can download the source tarballs and do a simple > ...> diff. If you're willing to do some more investigative work and try to > ...> find the culprit, this would help the maintainer of cron immensely. > Am willing but off on holiday today. I'll have > a look when I get back. > > Thanks for the response. If there is a more appropriate > forum for further discussion on investigative details, > feel free to point me in that direction. > > James This is the right list. BTW, I've just compared cron-3.0.1-9 and cron-3.0.1-10, and the only difference was that the stdin and stdout streams were redirected from/to /dev/null. You might try to use the executable from cron-3.0.1-9, just to minimize the search space. If it works, you know the latest change was the culprit. If it doesn't, the culprit is in something that changed between -8 and -9. FWIW, the changes between the versions were listed in the announcement messages: and Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/