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
To: cygwin@cygwin.com
From: Robert Schmidt <rschm@broadpark.no>
Subject: Re: problems with cron
Date: Thu, 09 Dec 2004 01:10:27 +0100
Lines: 34
Message-ID: <41B797F3.2000405@broadpark.no>
References: <F8D1EB21D712CE4C9A35483EDC050A073D775F@vpexchange1.nyc.visiblepath.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: 40.80-203-44.nextgentel.com
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
In-Reply-To: <F8D1EB21D712CE4C9A35483EDC050A073D775F@vpexchange1.nyc.visiblepath.com>
X-IsSubscribed: yes

Jeff Yemin wrote:
> I'm running cron as a service using cygrunsrv commands, and it seems to
> start ok.  But it doesn't seem to be running the jobs.  I put the date
> job in my crontab as a test, and I never see anything written to
> /tmp/cron.test.
>  
> Here's my crontab:
>  
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.2768 installed on Wed Dec  8 17:46:04 2004)
> # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp
> $)
> 30 0 * * * "cd /c/build; ./mailBuildResults.sh"
> * * * * * "date >> /tmp/cron.test"
> 
> Any help would be appreciated.

I think cron uses syslog, you should be able to see in the Windows Event 
Viewer:
- cron startup
- any started cron jobs
- any changes to crontab detected by cron (polled every minute)

Have you put your crontab file in the correct place with sufficient 
permissions for the System user (man cron), or are you using the crontab 
utility?

My crontab file has no quotes around the command - are quotes supported?

Rob

> Thanks,
> Jeff Yemin
> 


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

