Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <435DA226.8040007@cygwin.com>
Date: Mon, 24 Oct 2005 23:10:30 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: "CWS Informatics [Sas]" <scoop@EC.GC.CA>
CC: cygwin@cygwin.com
Subject: Re: Cron Problems with Cygwin
References: <531248B98F74D511B1BA00508BC24BC8014FD827@sr-sas-msc.prairie.int.ec.gc.ca>
In-Reply-To: <531248B98F74D511B1BA00508BC24BC8014FD827@sr-sas-msc.prairie.int.ec.gc.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

CWS Informatics [Sas] wrote:
> I am not sure what else you want based on reporting guidelines. I
> attached the cygcheck file though.


Thanks.  I was also looking for details about your failing cron commands.


> As for what I am trying to do: 
> 
> We have a bunch of old Unix scripts and software that we need to keep
> running for awhile. 
> These need to run every x minutes for y range of hours during the day.
> The scripts and software produce the results we are looking when run
> from the command line in Cygwin. 
> 
> There is nothing but "Cron Started [<number>]" in the cron log.


So it sounds like cron thinks everything is fine.


> Thank you.


OK, then let's go back to basics.  Clear your crontab out of everything but
the following line:

1 * * * *       /bin/echo "hi" >/tmp/cron.out

Do you get a /tmp/cron.tab with "hi" in it after a minute?  If so, then you
need to look at your originalcrontab commands and figure out which ones
are causing you the problem.  From the output, it would suggest that you're
invoking 'cmd' for something.  That may be causing you some problem.  If
you don't get any output with the simple crontab file, you probably want to
uninstall and reinstall the cron package, reading
'/usr/share/doc/Cygwin/cron.README' immediately after installing.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

--
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/

