This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with cron!


On Mon, 11 Aug 2003 cygwin at harrier dot ch wrote:

> ...> From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
> ...> Date: Sun, 10 Aug 2003 14:17:50 -0400 (EDT)
> ...> Subject: RE: Problem with cron!
> ...>
> ...> --------------------------------------------------------------------------------
> ...>
> ...> On Sun, 10 Aug 2003 cygwin@harrier.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:
<http://cygwin.com/ml/cygwin/2003-04/msg01440.html> and
<http://cygwin.com/ml/cygwin/2003-06/msg00562.html>
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]