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