delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/05/12:32:02

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
Message-ID: <3CADDF1F.3090307@delinea.com>
Date: Fri, 05 Apr 2002 11:30:07 -0600
From: Ken Sheldon <Ken DOT Sheldon AT delinea DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: RE: Strange Crond behavior

I believe the root cause is that the CYGWIN environment variable needs 
to be set to include NTSEC.

The instructions in /usr/doc/Cygwin/cron.README include this command:
 cygrunsrv -I cron -p /usr/sbin/cron -a -D
That will not always work

A command that works better is:
cygrunsrv -I cron -d "Cron" -p /usr/sbin/cron -a "-D" -e "CYGWIN=binmode 
ntsec tty"

or, alternatively, you can set the CYGWIN environment variable another way.



--
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