www.delorie.com/archives/browse.cgi | search |
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 |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Mon, 7 Jan 2002 12:36:36 +0100 |
From: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
X-Mailer: | The Bat! (v1.53t) Business |
Reply-To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Organization: | convey Information Systems GmbH |
X-Priority: | 3 (Normal) |
Message-ID: | <1487653094.20020107123636@familiehaase.de> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cron |
In-Reply-To: | <3C3978A5.83E9BA2E@bah.com> |
References: | <3C3978A5 DOT 83E9BA2E AT bah DOT com> |
MIME-Version: | 1.0 |
Facey, 2002-01-07 11:19:44, du schriebst: > I set up cron per your suggestion with: > $ cygrunsrv -I cron -p /usr/sbin/cron -a -D \ > > -e "TZ=EST+5EDT,M4.1.0/M10.5.0" \ > > -e "CYGWIN=ntsec tty" > I still can not get cron to work after starting the service and > crontabbing my crontab file. Hmmm. I tried with a simple testscript which does nothing than a `touch testfile'. This worked. > Does the Windows Scheduling service need to be stopped? > Are my permissions (Administrator(u) None (g)) wrong on my crontab file > (user is Administrator)? > Do I need System permission to be successful? > If you have an /etc/crontab and /etc/cron.d/crontab file, are there > problems? > Does cron look first to the user's crontab, then /etc/crontab and > /etc/cron.d crontab? The crontabs are stored in /var/cron/tabs/USERNAME For each user a file with his username. I really don't know which file is looked up first. Try with a little testscript, something like this: ================================================== #!/bin/sh DATE=`date "+%Y-%m-%d-%H-%M-%S"` touch /testcron.$DATE ================================================== Save it to /testcron.sh Add: * * * * * /bin/sh /testcron.sh to you crontab, $ cd / $ ls *testcron* testcron.sh* One minute later: $ ls *testcron* testcron.2002-01-07-12-34-01 testcron.sh* Two minutes later: $ ls *testcron* testcron.2002-01-07-12-34-01 testcron.2002-01-07-12-35-01 testcron.sh* And so on. What for you now? Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |