Mail Archives: cygwin/2005/06/30/20:10:44
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/
- Raw text -