delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/24/23:12:09

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
Message-ID: <435DA226.8040007@cygwin.com>
Date: Mon, 24 Oct 2005 23:10:30 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT 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 AT EC DOT GC DOT CA>
CC: cygwin AT cygwin DOT com
Subject: Re: Cron Problems with Cygwin
References: <531248B98F74D511B1BA00508BC24BC8014FD827 AT sr-sas-msc DOT prairie DOT int DOT ec DOT gc DOT ca>
In-Reply-To: <531248B98F74D511B1BA00508BC24BC8014FD827@sr-sas-msc.prairie.int.ec.gc.ca>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019