Cron v3.0.1-5 setup issue w/ Cygwin v1.3.6

Corinna Vinschen cygwin@cygwin.com
Fri Feb 1 10:18:00 GMT 2002


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/



More information about the Cygwin mailing list