Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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> Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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/