This is the mail archive of the
mailing list for the Cygwin project.
Re: crontab error
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Chuck Hamilton <chuckh at softhome dot net>
- Cc: cygwin at cygwin dot com
- Date: Wed, 28 May 2003 13:26:00 -0400 (EDT)
- Subject: Re: crontab error
- Reply-to: cygwin at cygwin dot com
Cygwin services usually run as LocalSystem. Did you change the user the
service runs as?
See if /usr/sbin/cron has execute permission set for user SYSTEM (maybe do
a "chmod a+x"?).
On Wed, 28 May 2003, Chuck Hamilton wrote:
> I'm finding if I run the cron command manually from a shell window, it
> works. If I try to start it as a service, it fails to start. Below is what I
> found in the win2k application log. Does it help?
> "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. The following
> information is part of the event: cron : PID 2976 : starting service `cron'
> failed: execv: 1, Operation not permitted."
> Is this some sort of a permissions problem? Do I need to start the cron
> service as a specific user?
> ----- Original Message -----
> From: "Harig, Mark" <firstname.lastname@example.org>
> To: "Chuck Hamilton" <email@example.com>; <firstname.lastname@example.org>
> Sent: Tuesday, May 27, 2003 1:03 PM
> Subject: RE: crontab error
> Please re-run the cron_diagnose.sh script
> to see if it can find any problems.
> > -----Original Message-----
> > From: Chuck Hamilton [mailto:email@example.com]
> > Sent: Tuesday, May 27, 2003 8:44 AM
> > To: firstname.lastname@example.org
> > Subject: Re: crontab error
> > I do have the utilities and I was able to create a group and
> > passwd file. I
> > still get an error trying to start the cron service however.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html