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 From: "Siegfried Heintze" To: Subject: RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found Date: Thu, 30 Jun 2005 20:18:40 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" In-Reply-To: <30138206.1120176635437.JavaMail.SYSTEM@CCC-NOVA1> Message-ID: <33437131.1120184325015.JavaMail.SYSTEM@CCC-NOVA1> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j612IxYp006126 I found http://www.cygwin.com/ml/cygwin/2003-09/msg01858.html and it says to create /etc/cron.d but that directory is already created. So then I noticed it was marked readonly so I gave full control to everyone and still no luck. Thanks, Siegfired -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Siegfried Heintze Sent: Thursday, June 30, 2005 6:10 PM To: cygwin AT cygwin DOT com Subject: RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found 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? Here is one of the many entries in the event viewer. I need some help interpreting this: 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: /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 +"). Any suggestions on how to resolve this? Thanks, Siegfried -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of René Berber Sent: Wednesday, June 29, 2005 3:26 PM To: cygwin AT cygwin DOT com Subject: Re: cron issue Imran Merali wrote: > I am trying to get cron to execute a bash script at a certain time, > but it is not doing so. The script itself works well, but it doesn't > seem to want to run when i set it up as a cron job. The same thing > happens when I try to do something simple like output a timestamp to a > text file each minute. This is a fresh install. Additionally, the line > in my crontab is identical to that in the crontab on my bsd machine. I > used cron_diagnose.sh, but it said my install was fine, with the > exception of a little issue with sendmail, which I tried to correct > with a symlink to a working mailer. [snip] First look into the Windows Event Viewer + Application, you should find a few events that have, among other things, the crond output. Second read $CYGWIN_HOME/usr/share/doc/Cygwin/cron.README and see what you need to have cron email you. BTW bash scripts work fine with cron, what you describe as doing should work with no problem. HTH -- René Berber -- 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/ -- 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/ -- 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/