From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20410 invoked by alias); 2 Feb 2002 22:27:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 20291 invoked from network); 2 Feb 2002 22:27:32 -0000 Received: from unknown (HELO mailout07.sul.t-online.com) (194.25.134.83) by sources.redhat.com with SMTP; 2 Feb 2002 22:27:32 -0000 Received: from fwd00.sul.t-online.de by mailout07.sul.t-online.com with smtp id 16X8cM-0008H6-01; Sat, 02 Feb 2002 23:26:42 +0100 Received: from brunhilde (320081107336-0001@[62.155.160.188]) by fmrl00.sul.t-online.com with esmtp id 16X8cI-0lMoKXC; Sat, 2 Feb 2002 23:26:38 +0100 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: posting-list@MailAndNews.com (Jari Aalto+list.cygwin), cygwin@cygwin.com Date: Sat, 02 Feb 2002 14:27:00 -0000 MIME-Version: 1.0 Subject: Re: How to set up crontab file in cygwin? Reply-to: gerrit@familiehaase.de Message-ID: <3C5C769F.3161.2578188@localhost> Priority: normal In-reply-to: X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Sender: 320081107336-0001@t-dialin.net X-SW-Source: 2002-02/txt/msg00089.txt.bz2 Am 31 Jan 2002 um 21:48 hat Jari Aalto+list.cygwin geschrieben: >* Mon 2002-01-28 Jeff Lu list.cygwin >* Message-Id: >| This is what is in my cron file >| >| # DO NOT EDIT THIS FILE - edit the master and reinstall. >| # (/tmp/crontab.272 installed on Mon Jan 28 18:22:31 2002) >| # (Cron version -- $Id: crontab.c,v 1.3 2001/06/07 17:12:28 corinna Exp $) >| SHELL=/bin/sh >| 0-59/2 * * * * /c/progra~1/apache~1/apache/cgi-bin/print >| >| I got this when try to start service >| $ cygrunsrv -S cron >| cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: >| The service has not been started. >| >| What am I doing wrong? > >The cron is very picky, I fought with it 4 months with very odd >error messages until I got it right. Try this [do not change a thing!] > > cygrunsrv --stop "Cygwin cron" && cygrunsrv --remove "Cygwin cron" > cygrunsrv -I "Cygwin cron" -p /usr/sbin/cron -a '-D' -e "CYGWIN=ntsec" > cygrunsrv --start "Cygwin cron" > >I don't use NTFS in W2k Pro, but I still put the > > CYGWIN=ntsec > >Maybe someone can comment if there would be more appropriate value. Have you tried CYGWIN=ntea instead of ntsec? Gerrit-- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/