delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/25/16:56:48

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
From: "Paul Derbyshire" <derbyshire AT globalserve DOT net>
To: cygwin AT cygwin DOT com
Date: Thu, 25 Jul 2002 17:00:56 -0400
MIME-Version: 1.0
Subject: (Fwd) Cron oddity
Reply-to: derbyshire AT globalserve DOT net
Message-ID: <3D402EC8.23172.4647C474@localhost>

I installed cygrunsrv and cron and set up a simple crontab to trigger 

every minute and write the date to a file, as a test. It worked. Then 

I removed this job and added one to run a script every midnight. It 
didn't work. No errors appear in the Windows XP event log or in 
/var/log/cron.log, and both Services and Task Manager show cron to be 

running, but the script silently fails to run. Changing the job 
command to a date append to file command makes it work. All I can 
figure is that cron is in fact working, sort of, but that the script 
is failing when invoked, or the script interpreter.

The script wgets a frequently-updated file from a web site; I did 
write it so it doesn't directly use any environment variables not 
made available via the crontab. I'm wondering if wget depends on an 
environment variable. Although it still leaves the question why no 
error reports are being generated, at least not in the above-
mentioned obvious places.


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

- Raw text -


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