delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/26/12:29:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
To: James Nallen <James DOT Nallen AT may DOT ie>
Date: Sun, 26 Aug 2001 18:30:20 +0200
MIME-Version: 1.0
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019