This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Chronic Cron


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]