delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/17/11:18:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-Id: <200412171617.iBHGHlDE029348@smtp.kelkoo.net>
From: "Sebastian Berger" <sebastian DOT berger AT kelkoo DOT com>
To: <cygwin AT cygwin DOT com>
Subject: FW: Re: [UPDATE] cron won't execute tasks
Date: Fri, 17 Dec 2004 17:17:45 +0100
MIME-Version: 1.0
X-Spam-Warning: Relay IP 192.168.1.156 is known and friendly, no SPAM checking necessary.
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iBHGI5hG029935

Hello Robert,

I think I have the same problem you had executing crontabs…. (W2k3 server)
I was searching the archives and the net for any solution to this.

Basically I followed all the threads and tried:

1. Cron under System Account -> Context switch problem
2. Cron under a ‘cron_server’ account with appropriate rights
(openssh.README etc):

 net user cron_server <passwd> /add /yes
  net localgroup <administrators_group_name> cron_server /add
  editrights -a SeAssignPrimaryTokenPrivilege -u cron_server
  editrights -a SeCreateTokenPrivilege -u cron_server
  editrights -a SeIncreaseQuotaPrivilege -u cron_server
  editrights -a SeServiceLogonRight -u cron_server
  mkpasswd -l -u cron_server >> /etc/passwd

For security reasons:
  editrights -a SeDenyInteractiveLogonRight -u cron_server
  editrights -a SeDenyNetworkLogonRight -u cron_server
  editrights -a SeDenyRemoteInteractiveLogonRight -u cron_server

 give "cron_server" permission to write on the "/var/run/cron.pid" and
"/var/log/cron.log" 
        
And then create a cron service using that account:
  cygrunsrv -I cron -p /usr/sbin/cron -a -D -u cron_server -w <passwd>

      I gave all appropriate user rights… nothing. The server cannot be
started, neither by command line nor by ‘services’…

Did you finally find a solution for this issue or at least a hint – like
you, this is driving me nuts…

Any help would be appreciated, thanks in advance,


Sebastian


Sebastian Berger
System Administrator
Tel   +33.(0)4.76.29.79.25
Mob +33.(0)6.77.80.62.80
MSN/Y!M: kelkoosebastian
________________________________________
KELKOO 



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