Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: crontab error Date: Wed, 28 May 2003 11:51:38 -0700 Lines: 23 Message-ID: References: <002a01c32521$c628b190$644e8ca7 AT qvc DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/