delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/08/19:10:49

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
To: cygwin AT cygwin DOT com
From: Robert Schmidt <rschm AT broadpark DOT 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 AT vpexchange1 DOT nyc DOT visiblepath DOT com>
Mime-Version: 1.0
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: <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/

- Raw text -


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