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://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 |
Message-ID: | <430F1B23.EA7DA18@opgc.univ-bpclermont.fr> |
Date: | Fri, 26 Aug 2005 15:37:39 +0200 |
From: | Jean-Michel Douchain <sisauv AT opgc DOT univ-bpclermont DOT fr> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: crontab |
References: | <430B3DCD DOT 857CD22E AT opgc DOT univ-bpclermont DOT fr> <Pine DOT GSO DOT 4 DOT 63 DOT 0508231423170 DOT 27271 AT slinky DOT cs DOT nyu DOT edu> <430DE5CC DOT 9A9A3629 AT opgc DOT univ-bpclermont DOT fr> <Pine DOT GSO DOT 4 DOT 63 DOT 0508251144150 DOT 28254 AT slinky DOT cs DOT nyu DOT edu> |
> > > > > > > Since you didn't redirect the output of either of the above commands, > > > cron will probably try (and fail) to find a working smtp service on > > > your machine to mail you the output. my crontab: 26 * * * * /bin/csh -xv /cygdrive/c/sismalp/acqdata/es.csh >> /tmp/crontst2 2>&1 the file /tmp/crontst2 remains empty. my script es.csh: #!/bin/csh -f cd /cygdrive/c/sismalp/acqdata/DATA set acq = /cygdrive/g set list = `/bin/ls $acq` echo $list >> toto exit my file toto increase of one empty line at each execution, instead of a simple directory list. > > > Did you check the error logs (as mentioned twice in this thread already) vi /var/log/cron.d: [1564] cron started. I can't see any error logs. Jean-Michel -- 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 |