delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/25/11:39:40

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: <430DE5CC.9A9A3629@opgc.univ-bpclermont.fr>
Date: Thu, 25 Aug 2005 17:37:48 +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>

Hello,
thanks for your response. I've tried your command line but with no success.
When i simply do this:

* * * * * /usr/bin/date >> /tmp/crontst

the file crontst is created and i see each time the prog was executed in
different line.
But it's the only thing i can do!! When i run another simple program. It works
well only when i execute it by
hand, and it does nothing with cron!!

If you have more ideas, it will help me.

Jean-Michel

Igor Pechtchanski a écrit :

> On Tue, 23 Aug 2005, Jean-Michel Douchain wrote:
>
> > I can't run automatically any program with cron??
> > Can you help me??
> >
> > ------ crontab ------
> > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > # (/tmp/crontab.2272 installed on Tue Aug 23 17:00:18 2005)
> > # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> > 45 * * * * /cygdrive/c/sismalp/acqdata/sis
> > 01 * * * * /cygdrive/c/sismalp/acqdata/es.csh
>
> 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.
>
> Why not try with the "hello world" of crontabs instead:
>
> ?:5 * * * * /bin/date >> /tmp/cron-date.out 2>&1
>
> and see if that works as expected (printing the date into
> /tmp/cron-date.out every five minutes).
>
> Also, as René suggested, check the error logs.
> HTH,
>         Igor
> --
>                                 http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_                pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_            igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA


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

- Raw text -


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