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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: 100% CPU Usage when starting Win32 process through cron Date: Wed, 12 Mar 2003 12:47:34 +0100 Lines: 26 Message-ID: <1npojppfyf3gn.dlg@thorstenkampe.de> References: <3E6EAD9F DOT 104CDCDA AT real DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: 40tude_Dialog/2.0.3.1 * 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? > Looks like it is occupying 100% of the CPU time. Is it "occupying 100% of the CPU time" or not? What does the "Task Manager" say ([Ctrl]+[Shift]+[Esc])? > I installed the cron using 'cygrunsrv -I cron -a -D -e CYGWIN="ntsec > binmode" -p /usr/sbin/cron.exe'. Why? "/usr/doc/Cygwin/cron.README" says: "cygrunsrv -I cron -p /usr/sbin/cron -a -D". > Is there some environment setting I am missing that is causing this problem. So what is your "environment setting"? echo $CYGWIN 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/