This is the mail archive of the cygwin@cygwin.com 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: Cron v3.0.1-5 setup issue w/ Cygwin v1.3.6


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@cygwin.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/


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