Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 28 Oct 2004 20:40:22 -0400 (EDT) From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> Reply-To: cygwin AT cygwin DOT com To: piyush lowalekar <piyush_lwl AT yahoo DOT com> cc: cygwin AT cygwin DOT com Subject: Re: Reg. Turning off Event Log Messaging In-Reply-To: <20041028234259.3699.qmail@web20926.mail.yahoo.com> Message-ID: <Pine.GSO.4.61.0410282036130.13841@slinky.cs.nyu.edu> References: <20041028234259 DOT 3699 DOT qmail AT web20926 DOT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 Piyush, Please make sure your mailer respects the Reply-To: header -- I set it for a reason. More below. On Thu, 28 Oct 2004, piyush lowalekar wrote: > Hi, > > Thanks for your reply. > > I have tried using the command but got the following message > > cygrunsrv: Error installing a service: OpenService: Win32 error 107 > The specified service already exists. Of course, you first have to remove the service using "cygrunsrv -R cron". For more details, see /usr/share/doc/Cygwin/cygrunsrv.README. > Here I put some description of messages that i am receiving in the > application log of windows. > [snip] > The above message log into the application log every time my script > executes (every one min). I want to suppress this message or redirect it > to some other file. Could you suggest how can i redirect or suppress it. I understood exactly what you wanted. There was no need to repeat this. > Igor Pechtchanski <pechtcha AT XX DOT XXX DOT XXX> wrote: Oh, and <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. Igor > On Thu, 28 Oct 2004, piyush_lwl wrote: > > > Hi, > > I am using the Cygwin_Nt 5.0. I have sceheduled some tasks by using the > > crontab feature of the cygwin. Whenever these tasks are executed it > > loggs an informative message in the application event log, this is > > causing a considerable growth in the application event log size. could > > anyone pls. help me so that i can turn off the logging of the cron > > events in the application event log of Windows NT. > > > > Regards > > Piyush Lowalekar > > Try installing cron using > > cygrunsrv -I cron -p /usr/sbin/cron -a -D -1 /var/log/cron.log -2 /var/log/cron.log > > This should redirect all the messages you see in the Windows Event Log > to /var/log/cron.log... -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/