This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crontab


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@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_            igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]