Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Thu, 30 Jun 2005 20:25:44 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Siegfried Heintze cc: cygwin AT cygwin DOT com Subject: RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found In-Reply-To: <30138206.1120176635437.JavaMail.SYSTEM@CCC-NOVA1> Message-ID: References: <30138206 DOT 1120176635437 DOT JavaMail DOT SYSTEM AT CCC-NOVA1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 30 Jun 2005, Siegfried Heintze wrote: > I'm having similar troubles. I have read the cron.README file. I installed > cron some time ago. I believe I used the command described in cron.README. I > see there are several cron.exes running on my system when I look at the > process list. Should there be? Depends. Every time cron forks, you'll see an instance of the executable. Whether cron forks or not depends on your config, IIRC. > Here is one of the many entries in the event viewer. > > I need some help interpreting this: Okay. > The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be > found. The local computer may not have the necessary registry information or > message DLL files to display messages from a remote computer. You may be > able to use the /AUXSOURCE= flag to retrieve this description; see Help and > Support for details. The following information is part of the event: Ignore the above. It's Windows telling you that it can't find the template to nicely format the event content, so it'll give you the raw event data. > /usr/sbin/cron : PID 1836 : (Siegfried) CMD (/c/Perl/bin/perl > /c/WinOOP/Perl/bots/yahoo/finance/crawl-hot-jobs.pl /GUI=NONE /sleep=60 > /threads=8 >`date +"). Aha, this is the important one. It's cron telling you the exact command it tried to run. > Any suggestions on how to resolve this? Looks like your cron job command isn't parsed correctly -- the name of the file to redirect the output to doesn't look right. Also, I'm assuming /c/Perl contains ActiveState perl, not Cygwin's one. If so, passing it a Cygwin path to the script won't work. If it still doesn't work after you fix both of the problems above, please post your crontab. 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! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/