X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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.fb30e530d17747c2b054d625b8945d88.76e8ba91ed.wbe@email.email.secureserver.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

