delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/28/21:41:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <46FDAD1F.3C28539E@dessent.net>
Date: Fri, 28 Sep 2007 18:40:47 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cron not running jobs, no errors
References: <12950946 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Alexfed wrote:

> cron service with no errors. I ssued the following commands to install and
> run cron.
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron

Why?  That is not how you install the cron service.  There is much more
to be done, in fact there is a cron-config script provided (that is
nearly 900 lines of shell code) to do all the various tasks. 
Specifically, on windows 2003 you must create a special service account
and give it extra privileges as the SYSTEM account cannot change uids.

So erase this broken service and run cron-config instead.  If that still
fails then run cron_diagnose.sh and attach its results.

Brian

--
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