This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Trying to get cron working


Hi,

I just recently installed version 2.78.2.3 of cygwin.

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"

(2) I started the service:

cygrunsrv -S cron

(3) I set up an Adminstrator crontab file

However, the job does not run.

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

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

The Registry contains the following nfo:


HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
   (default) = `/cygdrive'
   cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options


Could someone please help.

Rgetads,
James Nallen,
Systems Programmer,
NUI Maynooth,
Co. Kildare,
Ireland.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]