Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 21 Nov 2003 13:46:50 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: zzapper cc: cygwin AT cygwin DOT com Subject: Re: Chronic Cron In-Reply-To: <0plsrvk55ch8chmvdrgmp2a9i2ni4mhd22@4ax.com> Message-ID: References: <0plsrvk55ch8chmvdrgmp2a9i2ni4mhd22 AT 4ax DOT com> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 21 Nov 2003, zzapper wrote: > Hi > Cron must be close to being the number one problem in this NG. > > I've run Mark's latest cron_diagnose.sh which always reports OK > > I then obey:- > $ cygrunsrv --stop cron > $ cygrunsrv --remove cron > $ cygrunsrv --install cron -p /usr/sbin/cron -a -D > $ cygrunsrv --start cron > > The first 3 are OK but I get > >cygrunsrv --start cron > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error > 1062: The service has not been started. > > I can't get cron to run from the prompt (many manage this). > > I've checked mounts, /etc/passwd etc > > HAS ANYONE GOT PAST ALL THIS? > > WINXP Home > > zzapper David, When you get error 1062, there's usually also some output in the Windows Event log. See if there's anything from the cron service? If there is, it's probably significant. What are the problems (errors) when running cron from the prompt? Also, there shouldn't be any need to point this out, but where is the "cygcheck -svr" output as requested in ? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/