delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/28/14:50:57

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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: crontab error
Date: Wed, 28 May 2003 11:51:38 -0700
Lines: 23
Message-ID: <bb309s$4nu$1@main.gmane.org>
References: <BADF3C947A1BD54FBA75C70C241B0B9E7633EF AT ex02 DOT idirect DOT net> <002a01c32521$c628b190$644e8ca7 AT qvc DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030515 Thunderbird/0.1a
X-Accept-Language: en-us, en
In-Reply-To: <002a01c32521$c628b190$644e8ca7@qvc.com>

Chuck Hamilton wrote:

>I'm finding if I run the cron command manually from a shell window, it
>works. If I try to start it as a service, it fails to start. Below is what I
>found in the win2k application log. Does it help?
>
>"The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The
>local computer may not have the necessary registry information or message
>DLL files to display messages from a remote computer. The following
>information is part of the event: cron : PID 2976 : starting service `cron'
>failed: execv: 1, Operation not permitted."
>
>Is this some sort of a permissions problem? Do I need to start the cron
>service as a specific user?
>
You might try stopping cron and doing:

$ rm -rf /var/cron
$  rm -rf /var/run/cron.pid
$  rm -rf /var/log/cron.log

Then restarting cron.



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