delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/27/05:42:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Jarrod Hermer" <jarrod AT mybeat DOT net>
To: "'Harig, Mark'" <maharig AT idirect DOT net>, <cygwin AT cygwin DOT com>
Subject: RE: Problems with cron
Date: Fri, 27 Jun 2003 11:42:13 +0200
Message-ID: <002201c33c90$6a18c030$2701a8c0@lonewolf>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E763464@mail.co.idirect.net>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-MailScanner-Information: Please contact the ISP for more information
X-MailScanner: Found to be clean

Thanks for the info, unfortunately it did not solve all my problems. I
am still getting the following error at the command prompt when I try
and start cron:

Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
1062: The service has not been started.

And the following two enteries are made in the Event log:

Event Type:	Error
Event Source:	cron
Event Category:	None
Event ID:	0
Date:		6/27/2003
Time:		11:28:41 AM
User:		NT AUTHORITY\SYSTEM
Computer:	LONEWOLF
Description:
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. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
cron : PID 3064 : starting service `cron' failed: execv: 255, error 255.


Event Type:	Information
Event Source:	cron
Event Category:	None
Event ID:	0
Date:		6/27/2003
Time:		11:28:41 AM
User:		NT AUTHORITY\SYSTEM
Computer:	LONEWOLF
Description:
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. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
cron : PID 3064 : `cron' service stopped.


Thanks in advance.

-----Original Message-----
From: Harig, Mark [mailto:maharig AT idirect DOT net] 
Sent: Thursday, June 26, 2003 11:12 PM
To: Jarrod Hermer; cygwin AT cygwin DOT com
Subject: RE: Problems with cron

About your crontab file:

   * * * * root echo "Hello World!"

1. 'root' is not a valid value for the fifth field,
   which should be the day of the week.  Possible
   values: '*', 0-7 (Sunday is 0 or 7), or use names
   of days.  More details can be read in the manual
   page for crontab.  Enter 'man 5 crontab' at the
   bash prompt.

2. Redirect the output of 'echo' to a file.  Output
   that is not sent to a file is sent by email to
   the user.  This is likely not configured properly
   yet on your machine and so the "Hello World!"
   string is simply lost.  Try:

      * * * * * echo "hello world" > /tmp/hello.txt

   or 

      * * * * * /usr/bin/date > /tmp/date.txt

   or, to get a list of the environment that your
   crontab knows about:

      * * * * * /usr/bin/env > /tmp/env.txt

> -----Original Message-----
> From: Jarrod Hermer [mailto:jarrod AT mybeat DOT net]
> Sent: Thursday, June 26, 2003 11:37 AM
> To: cygwin AT cygwin DOT com
> Subject: Problems with cron
> 
> 
> Hi,
> 
> I have scoured the net, run cron_diagnose.sh (no reported errors) and
> followed every suggestion I could find. Yet I cannot get cron to work.
> 
> At the prompt I get the following error:
> 
> Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
> 1062: The service has not been started.
> 
> The Event Logs say that crontab as well as cron could not be found.
> Attached are the requested files.
> 
> Please bear in mind that I am a TOTAL Linux/Unix novice, so 
> apologies if
> it is an obvious problem.
> 
> Any help would be appreciated.
> Regards,
> Jarrod
> 


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

- Raw text -


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