This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Siegfried Heintze <siegfried at heintze dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 30 Jun 2005 20:25:44 -0400 (EDT)
- Subject: RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found
- References: <30138206.1120176635437.JavaMail.SYSTEM@CCC-NOVA1>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/