delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/19/07:07:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Running cygwin cron under WinXP SP1
Date: Thu, 19 Feb 2004 13:07:21 +0100
Lines: 22
Message-ID: <1iz2fhtxkynr2.dlg@thorstenkampe.de>
References: <c1213k$264$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: isi-dialin-129-187.isionline-dialin.de
User-Agent: 40tude_Dialog/2.0.10.1de

* Russell Hind (2004-02-19 10:55 +0100)
> I have just installed the latest cygwin and set up cron to run using
> 
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron
> 
> It is running as a service (both in XP task manager and in ps -ef)
> 
> But I can't get it to execute commands.  I have tried a crontab as both 
> /etc/crontab and /var/cron/tabs/Russell

How did you create those? crontab -e for the latter? You know that the
system-wide crontab has a additional field for the user?

cron logs tho /var/whatever and into the eventviewer. Please consult
those two logs and explain further "can't get it to execute commands". 

Try redirecting the output with ">". For executables use the full path
or the PATH variable inside the crontab. Please read the fine manual
which answers all FAQs.

Thorsten


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