delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/07/16:00:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jerome Fong <jfong AT successmetricsinc DOT com>
Subject: Can't start cron as a service, I'm getting the Win32 error 1062 message
Date: Wed, 07 Nov 2007 12:59:38 -0800
Lines: 25
Message-ID: <fgt8vs$qa0$1@ger.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi there,

I'm not having any luck starting up cron as a service?  I installed 
cygwin as a local user, then I ran mkpasswd with -d since I realized 
that I should have been a domain user instead.  Now, I'm not able start 
cron as a service.   I am using cron_diagnose.sh to config cron as a 
service.  After getting the Win32 error 1062 message, it tells me to 
check the cron.log and cronevents for error messages.  When I check 
cron.log, I'm only getting the following message:

cron: unknown option -- n
usage:  /usr/sbin/cron [-D] [-x debugflag[,...]]

checking cronevents the last message is:
2007/11/07 12:07:04 [SYSTEM] cron: PID 2712: `cron' service stopped, 
exit status: 1

It seems to work if cron is no configured as a service.   I'm not sure 
what or where I should be looking.  any suggestions would be greatly 
appreciated since I've been working on this for over a week without 
success.

thanks,

Jerome


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