X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: 'cron' fails to stop Date: Sat, 01 Apr 2006 23:15:43 -0600 Lines: 25 Message-ID: References: <20060401203236 DOT fb30e530d17747c2b054d625b8945d88 DOT 76e8ba91ed DOT wbe AT email DOT email DOT secureserver DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 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/