This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: crontab
>
> > >
> > > 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/