Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: James Nallen Date: Sun, 26 Aug 2001 18:30:20 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Subject: Re: Trying to get cron working Reply-to: gp AT familiehaase DOT de CC: cygwin AT cygwin DOT com Message-ID: <3B89403C.24727.11D79CD6@localhost> In-reply-to: <5.0.2.1.0.20010824174849.02148f20@ailm.may.ie> X-mailer: Pegasus Mail for Win32 (v3.12cDE) X-Sender: 320081107336-0001 AT t-dialin DOT net Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-printable to 8bit by delorie.com id MAA27873 James Nallen schrieb am 2001-08-24, 18:05: >Hi, > >I just recently installed version 2.78.2.3 of cygwin. cygwin-1.3.2, setup-2.78.2.3 >I'm trying to get the cron facility operatoional. > >I have done the following : > >(1) Set the cron facility as an NT/W2K service > >cygrunsrv -I cron -p /usr/sbin/cron -a '-D' -e CYGWIN="tty ntsec" Correct. >(2) I started the service: > >cygrunsrv -S cron Yes. >(3) I set up an Adminstrator crontab file Did you run: $ crontab -e ? >However, the job does not run. Are you sure? >The following errors appear in the Event Log: > >Event Type: Information >Event Source: /usr/sbin/cron >Event Category: None >Event ID: 0 >Date: 24/08/2001 >Time: 17:55:59 >User: N/A >Computer: >Description: >The description for Event ID ( 0 ) in Source ( /usr/sbin/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: /usr/sbin/cron : Win32 Process >Id = 0x19C : Cygwin Process Id = 0x2E8 : (Administrator) RELOAD >(tabs/Administrator). Here it reloads the tab file. No error. >Event Type: Information >Event Source: Cygwin >Event Category: None >Event ID: 0 >Date: 24/08/2001 >Time: 17:56:02 >User: N/A >Computer: >Description: >The description for Event ID ( 0 ) in Source ( Cygwin ) 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: (Administrator) CMD >(/home/Administrator/test.out). Here it writes the file: test.out in Administrator's home dir, no error. It works for me™, (i did it like you did). 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/