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 Message-ID: <430F1B23.EA7DA18@opgc.univ-bpclermont.fr> Date: Fri, 26 Aug 2005 15:37:39 +0200 From: Jean-Michel Douchain MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: crontab References: <430B3DCD DOT 857CD22E AT opgc DOT univ-bpclermont DOT fr> <430DE5CC DOT 9A9A3629 AT opgc DOT univ-bpclermont DOT fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > > > > > > 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/