delorie.com/archives/browse.cgi | search |
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 20:38:19 -0600 |
Lines: | 43 |
Message-ID: | <e0ndeq$tj9$1@sea.gmane.org> |
References: | <20060401190844 DOT fb30e530d17747c2b054d625b8945d88 DOT 099716dc5e DOT wbe AT email DOT email DOT secureserver DOT net> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5 (Windows/20051201) |
In-Reply-To: | <20060401190844.fb30e530d17747c2b054d625b8945d88.099716dc5e.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: > 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 First mistake, you should have read /usr/share/doc/Cygwin/cron.README and, following those instructions, used cron-config. > It starts and runs fine using: cygrunsrv -S cron > A reading of the services shows: >=20 > Service : cygserver > Display name : CYGWIN cygserver > Current State : Running > Controls Accepted : Stop > Command : /usr/sbin/cygserver >=20 > Service : cron > Display name : CYGWIN cron > Current State : Running > Controls Accepted : Stop > Command : /usr/sbin/cron -D Does this look fine to you? You have 2 cron daemons, cron is not built to do that. > However, when I try to stop it using: cygrunsrv -E cron > I get the following: >=20 > cygrunsrv: Error stopping a service: QueryServiceStatus: Win32 error > 1053: > The service did not respond to the start or control request in a timely > fashion. Stop which one of the daemons? I told you cron is not built to do what you= are doing. --=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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |