This is the mail archive of the cygwin 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]
Other format: [Raw text]

Running cron as a user other than system


I am trying to run a build script via crontab and am dying
because crontab is run as system and one of the commands
in my scripts requires that I run as a specific user.

I've tried many things

	cygrunsrv -I cron -p /usr/sbin/cron -a -D -u SCROOGE2\\builder
	- - - - - - - - - - - - - - - - - - - - - - > builder

I'm getting this error and can't get past it.

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

I have just recently install cygwin as I am moving away from
MKS Toolkit.

Please help

Earl Box
Porting Engineer
BASIS, Internaitional, Ltd.

Attachment: cygcheck.txt
Description: Text document

Attachment: crontab.dat
Description: Binary data

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

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