delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/01/13:19:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 1 Feb 2002 19:18:47 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cron v3.0.1-5 setup issue w/ Cygwin v1.3.6
Message-ID: <20020201191847.A8348@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F114ve8xYFK3W3YdvFF000182fd AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <F114ve8xYFK3W3YdvFF000182fd@hotmail.com>
User-Agent: Mutt/1.3.22.1i

On Fri, Feb 01, 2002 at 11:21:21AM -0600, Craig Rees wrote:
>   * * * * * /usr/bin/date > $HOME/date.log
>   * * * * * echo "Hello from CRON" > /tmp/echo.log
> 
> 
> But always receive the following messages in the event viewer:
> 
> 1.   The description for Event ID ( 0 ) in Source ( /usr/sbin/cron )could 
> not be found. It contains the following insertion string(s): /usr/sbin/cron 
> : Win32 Process Id = 0xB1 : Cygwin Process Id = 0xB1 :(trendadm) CMD 
> (/usr/bin/date > $HOME/date.log).
> [...]

Did you try to redirect stderr as well?

	* * * * * /usr/bin/date > $HOME/date.log 2>&1

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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