Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Steven Caswell" To: "'Michael Lang'" Cc: Subject: RE: Strange Crond behavior Date: Thu, 4 Apr 2002 19:28:28 -0500 Message-ID: <003101c1dc38$cf7adee0$2f00a8c0@YellowJacket> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <5606CDAB719FDC40ACEFBCCDE0D9E1B57FA2@mail.jackal-net.at> Importance: Normal Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g350T2x04224 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 AT yahoo DOT 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 AT jackal-net DOT at] > Sent: Tuesday, April 02, 2002 4:19 PM > To: stevencaswell AT yahoo DOT 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 DOT lang AT jackal-net DOT at > > -----Original Message----- > From: Steven Caswell [mailto:stevencaswell AT yahoo DOT com] > Sent: Tuesday, April 02, 2002 10:51 PM > To: Michael Lang > Cc: cygwin AT cygwin DOT 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 AT yahoo DOT 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 AT cygwin DOT com > > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Michael Lang > > Sent: Monday, April 01, 2002 4:16 PM > > To: Larry Hall (RFK Partners, Inc) > > Cc: cygwin AT cygwin DOT 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 DOT lang AT jackal-net DOT at > > > > -----Original Message----- > > From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com] > > Sent: Monday, April 01, 2002 4:39 PM > > To: Michael Lang; cygwin AT cygwin DOT 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 > > > > > > > > > > >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 AT rfk DOT 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/