delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/02/00:16:14

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: 'cron' fails to stop
Date: Sat, 01 Apr 2006 23:15:43 -0600
Lines: 25
Message-ID: <e0nmlv$jb0$1@sea.gmane.org>
References: <20060401203236 DOT fb30e530d17747c2b054d625b8945d88 DOT 76e8ba91ed DOT wbe AT email DOT email DOT secureserver DOT net>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5 (Windows/20051201)
In-Reply-To: <20060401203236.fb30e530d17747c2b054d625b8945d88.76e8ba91ed.wbe@email.email.secureserver.net>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Jerry D. Hedden wrote:
>> Jerry D. Hedden wrote:
>>> I have installed 'cron' as a service using the following:
>>>     cygrunsrv -I cron -d "CYGWIN cron" -p /usr/sbin/cron -a -D -e
>>> "CYGWIN=3Dserver ntsec tty" -i
>=20
> Ren=E9 Berber replied:
>> First mistake, you should have read /usr/share/doc/Cygwin/cron.README an=
d,
>> following those instructions, used cron-config.
>=20
> Interesting clue.  'cron-config' installs 'cron' without the -i flag.=20
> However, I need the -i flag for some of my cron jobs.
> If I install cron without -i, it stops using:  cygrunsrv -E cron
> If I install cron with -i, it fails to stop.  Why won't it stop if -i is
> present?

OK, I missed that too.

I don't know why cygrunsrv can't stop it, perhaps needs --termsig set, like=
 the
postgresql example.
--=20
Ren=E9 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/

- Raw text -


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