delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/02/12:48:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 2 Jul 2004 12:48:11 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: william DOT b DOT parsons AT us DOT westinghouse DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: Trouble starting cron
In-Reply-To: <slrnceb20i.ak.wbparsons@l1409613.ct.wec.com>
Message-ID: <Pine.GSO.4.58.0407021244500.22362@slinky.cs.nyu.edu>
References: <slrnceb20i DOT ak DOT wbparsons AT l1409613 DOT ct DOT wec DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 2 Jul 2004, Will Parsons wrote:

> I am trying to get cron working and am having difficulties.  I installed
> the following minimal crontab:
>
> $ crontab -l
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (crontab.wbp installed on Tue Jun 29 07:47:31 2004)
> # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/date >> /tmp/date.log
>
> And installed cron using:
>
> $ cygrunsrv -I cron -p /usr/sbin/cron -a -D
>
> Trying to start:
>
> $ cygrunsrv -S cron
> /usr/bin/cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.
>
> /var/log/cron shows:
  ^^^^^^^^^^^^^
This should be /var/log/cron.log, right?

> [569] cron started

A couple of other things to try -- look in the Windows Event log, and run
the cron_diagnose.sh script (search the archives).  FWIW, your mounts look
fine, so I'd suspect a permission problem of some sort.
	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