delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <20080610175658.8K18N.186722.imail@fed1rmwml38> |
Date: | Tue, 10 Jun 2008 14:56:58 -0700 |
From: | <bruceb75 AT cox DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cron will not start jobs - cygwin/XP |
MIME-Version: | 1.0 |
Sensitivity: | Normal |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Larry, Thanks so much for taking the time to respond. my script is very simple: #!/usr/bin/bash echo `date` >> /cygdrive/c/cygwin/home/bruceb/datetime.txt my cron.txt is also very simple MAILTO="" SHELL=/usr/bin/bash 0-59 * * * * cygdrive/c/cygwin/home/bruceb/datewrite.sh > /dev/null 2>&1 I can run the script 'datewrite.sh' from the command line with no problems. I can see that the service 'cron' is installed and working in XP and that the service kicks off every minute... however, there is never any output from the script to the output file 'datetime.txt' ps -a shows cron running, logs are good. permissions to the script are 777 and the output file is set at 777. Again, Windows service logs show the job kicking off every minute, but no output. Any ideas? Regards, Bruce -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |