FW: Re: [UPDATE] cron won't execute tasks

Sebastian Berger sebastian.berger@kelkoo.com
Fri Dec 17 16:17:00 GMT 2004


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/



More information about the Cygwin mailing list