This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.0(0.214/5/3) cron service appears to be working, but no results are found

--- On Wed, 12/2/09, Pierre A. Humblet <> wrote:

> Larry,
> Everything looks fine to me. Cron runs, reloads the crontab
> when it changes and execs the 
> commands.

Well, in one sense that is good news - that is, that at least we have things set up appropriately.

> I have no idea about the "OpenService failed for 'TapiSrv':
> Win32 error 5", but I don't think it 
> matters.
> It's normal that /var/log/cron.log is empty, errors are
> logged in the Windows log.

Ah, okay. I was expecting that cron.log to have either errors or to have process.

I do know that we don't have a sendmail/exim/ssmtp set up in our Cygwin 1.7 environment. Normally in a Unix/Linux type environment, cron would email errors to me. In the cron README file, I see that what I should be seeing is a cron.log file if there are any errors. I don't have a $HOME/cron.log (but maybe HOME isn't defined in the cron environment).
The readme also mentions /tmp/cron*.log and /tmp/cron*log.err, but I don't have one of those either.

The readme goes on to mention /etc/cron.d and /etc/crontab but neither of these exist in my environment. Should they, and if so, does anyone have any idea what the specifics are for creating them? I only see references to their existence in the cron readme.

> Just to make sure, you are running Cygwin 1.7. Did you ever
> have Cygwin 1.5 on this machine and 
> use cron? I want to exclude any strange interference
> between the two services.

I am runngin Cygwin 1.7. Cygwin 1.5 was installed on this machine before 1.7, but cron was not installed there.

However, at one point in time, MKS Toolkit was installed here. For the past few months, an installer file remained, but the actual files used for services, etc. were removed. I worked with the admin this morning to force the removal of even the installation files today.  About the only thing left are a few registry entries the admin said had to do with license info, etc. 

> So either the exec fails (unfortunately that is not
> reported) or some error occurs. Are there 
> any cron related files in /tmp or in the home directory of
> lwv27 ? If so do they contain useful 
> info?

There do not appear to be any cron related files in /tmp or /home/lwv27.

Tcl - It's the real thing.
Anything in this posting represents only my personal opinion.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]