delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/21/13:47:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: zzapper <david AT tvis DOT co DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: Chronic Cron
In-Reply-To: <0plsrvk55ch8chmvdrgmp2a9i2ni4mhd22@4ax.com>
Message-ID: <Pine.GSO.4.56.0311211343350.10399@slinky.cs.nyu.edu>
References: <0plsrvk55ch8chmvdrgmp2a9i2ni4mhd22 AT 4ax DOT com>
Importance: Normal
MIME-Version: 1.0

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 <http://cygwin.com/problems.html>?
	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/

- Raw text -


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