delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/07/10:09:46

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
Date: Fri, 7 Oct 2005 10:09:37 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Orfeo Da Via <orfeo DOT davia AT microline-srl DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Cron problem
In-Reply-To: <Pine.WNT.4.58.0510071413450.480@sn2307128>
Message-ID: <Pine.GSO.4.63.0510071005110.501@slinky.cs.nyu.edu>
References: <Pine DOT WNT DOT 4 DOT 58 DOT 0510071413450 DOT 480 AT sn2307128>
MIME-Version: 1.0

On Fri, 7 Oct 2005, Orfeo Da Via wrote:

> Hi,
> I have the cron installed, my crontab is in attacged file crontab-l
> but nothing is going on.
>
> the attached files is generated by
> $ crontab -l > crontab-l.txt
> $ cron_diagnose.sh > crontab_dia.txt
> $ cygcheck -srv > cygcheck.txt

I'll quote your crontab inline to better comment on it:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
# (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
10 14 * * * /bin/date >> /usr/tmp/date.out;

First off, I'm not sure how cron will react to the semicolon at the end.
Secondly, you need to redirect stderr as well as stdout, or deal with cron
trying to mail you the output.

Try

10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1

and see if that works for you (it should).  If not, take a look at
/var/log/cron.log and the Windows Event Log for any relevant messages from
cron.
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