delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/12/17:09:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: 100% CPU Usage when starting Win32 process through cron
Date: Wed, 12 Mar 2003 23:08:55 +0100
Lines: 40
Message-ID: <1d0a5n76zotqy$.dlg@thorstenkampe.de>
References: <3E6EAD9F DOT 104CDCDA AT real DOT com> <1npojppfyf3gn DOT dlg AT thorstenkampe DOT de> <3E6F9DE5 DOT 88A619D5 AT real DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: 40tude_Dialog/2.0.3.1

* Sudheer Tumuluru (03-03-12 21:51 +0100)
> Thorsten Kampe wrote:
>> * Sudheer Tumuluru (03-03-12 04:46 +0100)
>>>         I have a Win32 process which runs fine from the cygwin bash or
>>> Windows command prompt. But when I try to put it in a cron job, the
>>> process comes up and freezes the machine.
>>
>> cron version? What "Win32 process"? OS version?
> 
> cron version 3.0.1-7. Please excuse me for not sending the cygcheck.out earlier. It is
> attached this time.
> This is a native Win32 application written in C++, compiled using the VC++ compiler. It
> is a console-based application with no GUI component whatsoever. Windows OS version:
> Windows 2000 Professional Dual Proc Machine. Identical behavior on Single Proc machine
> with Windows XP Professional.

Your OS is uptodate and this indicates that it's Cygwin related.

This is what I noticed:
Your TERM should be 'cygwin' unless you're using rxvt, but it's 
'xterm'.

You should update your Cygwin installation - at least Cygwin itself 
and bash. Best is to update everything.

>>> Is there some environment setting I am missing that is causing this problem.
>>
>> So what is your "environment setting"? echo $CYGWIN
> 
> echo $CYGWIN gives "ntsec".

Mine is "binmode codepage:oem glob:ignorecase ntea ntsec smbntsec title tty".
Try this or try at least adding tty.


Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019