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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of René Berber Sent: Wednesday, June 29, 2005 3:26 PM To: cygwin@cygwin.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/
RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found
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/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,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/
RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siegfried Heintze Sent: Thursday, June 30, 2005 6:10 PM To: cygwin@cygwin.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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of René Berber Sent: Wednesday, June 29, 2005 3:26 PM To: cygwin@cygwin.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/
RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found
At 10:18 PM 6/30/2005, you wrote: 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 snip Please read and follow the advice from replies you receive to your previous posting before following up yourself on that posting with other things you tried that don't work. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/