This is the mail archive of the cygwin@cygwin.com 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]

RE: Strange Crond behavior


Michael,

This finally did the trick. Thanks for the assistance.

I suggest that whoever maintains the cygwin.README update it with this
information, with a note that this works for XP.


Steven Caswell
stevencaswell@yahoo.com
a.k.a Mungo Knotwise of Michel Delving
"One ring to rule them all, one ring to find them..."


> -----Original Message-----
> From: Michael Lang [mailto:michi@jackal-net.at] 
> Sent: Tuesday, April 02, 2002 4:19 PM
> To: stevencaswell@yahoo.com
> Subject: RE: Strange Crond behavior
> 
> 
> Hi steven 
> 
> No I didn't change anything ... 
> Try using these setting that helped for me ... 
> net stop "cron"		# stoping the service
> cygrunsrv -R cron   	# uninstall 
> cygrunsrv -I cron -d "Cron" -p /usr/sbin/cron -a "-D" | 
>  -e "CYGWIN=binmode ntsec tty" -1 /var/log/cron.log -2 
> /var/log/cron.log
> 
> the settings -1 -2 are for normal output and error output ... 
> the cronjobs didnīt report any error as in the Eventlog usage 
> but the worked. 8)
> 
> hope it helps
> 
> Greetz mIke 
> 
> Michael Lang				           System Engineer
> Jackal-net.at				    Tel: +43 664 12 42 947
> Austria, Europe			  	    Fax: +43   
> 1 734 82 34
> http://www.jackal-net.at            michael.lang@jackal-net.at
> 
> -----Original Message-----
> From: Steven Caswell [mailto:stevencaswell@yahoo.com] 
> Sent: Tuesday, April 02, 2002 10:51 PM
> To: Michael Lang
> Cc: cygwin@cygwin.com
> Subject: RE: Strange Crond behavior
> 
> Michael, I'm having the same problem you are having, mine on 
> XP Professional. Did you have to do anything special to the 
> SYSTEM user or any of the Unix security files to get this to 
> work? I've tried the exact command you used below and I still 
> get the problem.
> 
> TIA.
> 
> 
> Steven Caswell
> stevencaswell@yahoo.com
> a.k.a Mungo Knotwise of Michel Delving
> "One ring to rule them all, one ring to find them..."
> 
> 
> > -----Original Message-----
> > From: cygwin-owner@cygwin.com
> > [mailto:cygwin-owner@cygwin.com] On Behalf Of Michael Lang
> > Sent: Monday, April 01, 2002 4:16 PM
> > To: Larry Hall (RFK Partners, Inc)
> > Cc: cygwin@cygwin.com
> > Subject: RE: Strange Crond behavior
> > 
> > 
> > Hi Larry
> > 
> > Thanks for answering ... but iīve already readed the dos and
> > tried using the install steps .. I now used cygrunsrv -I cron 
> > -d "Cron" -p /usr/sbin/cron -a "-D" -1 /var/log/cron.log -2 
> > /var/log/cron.log for service installation. It now works ... 
> > *strange* maybe the EventLog tells some more defusing 
> > informations than needed. 
> > 
> > Thanks for your answer anyway
> > 
> > Greetz mIke
> > 
> > Michael Lang				           
System Engineer
> > Jackal-net.at				    Tel: +43 
> 664 12 42 947
> > Austria, Europe			  	    Fax: +43   
> > 1 734 82 34
> > http://www.jackal-net.at            michael.lang@jackal-net.at
> > 
> > -----Original Message-----
> > From: Larry Hall (RFK Partners, Inc) [mailto:lhall@rfk.com]
> > Sent: Monday, April 01, 2002 4:39 PM
> > To: Michael Lang; cygwin@cygwin.com
> > Subject: Re: Strange Crond behavior
> > 
> > At 05:47 AM 4/1/2002, Michael Lang wrote:
> > >Hello to all
> > >
> > >Sorry for bothering but I didnīt find an issue for these strange
> > >behavior of the Crond .
> > >
> > >Does someone knows why using cron as service doesn't start any
> > >scheduled tasks ? Event Error :
> > >
> > >Using /usr/sbin/cron -D
> > >  > seteuid: Not owner
> > 
> > <snip>
> > 
> > 
> > >0x9D0 : Cygwin Process Id = 0x9D0 : (CRON) error (can't switch user
> > >context).
> > 
> > 
> > The problem?  Looks like the same old one to me.  You're not
> > running cron as SYSTEM.  It seems many folks don't follow 
> > directions and don't check the email archives when they have 
> > a problem as a result.  Read the README and follow 
> > the instructions there.  If you still have problems, check 
> > the email archives for similar questions.  There should be 
> > plenty of information in these two 
> > avenues to solve this issue.  If not, you'll need to be more 
> > specific about 
> > why the standard configuration doesn't work for you.
> > 
> > 
> > Larry Hall                              lhall@rfk.com
> > RFK Partners, Inc.                      http://www.rfk.com
> > 838 Washington Street                   (508) 893-9779 - RFK Office
> > Holliston, MA 01746                     (508) 893-9889 - FAX
> > 
> > 
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> > 
> 
> 
> 
> 
> _________________________________________________________
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]