sorry for my newbiness again but iam on windows and awser that i see on google are for linux:S
[EMAIL PROTECTED] administrateur http://entre-nous.qc.tc
From: Nicholas Bernstein <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: Re: log comming big after.... Date: Thu, 26 Feb 2004 18:02:22 -0800
On Thursday 26 February 2004 6:00 pm, FRANCOIS Dufour wrote: > sorry for my newbiness but "cron:" > ^ > how to do it >
put *some* effort into it, go hit up google and search for "cron howto"
>
> [EMAIL PROTECTED]
> administrateur http://entre-nous.qc.tc
>
>
>
>
>
> From: Nicholas Bernstein <[EMAIL PROTECTED]>
>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >Subject: Re: log comming big after....
> >Date: Thu, 26 Feb 2004 17:55:28 -0800
> >
> >On Thursday 26 February 2004 5:43 pm, FRANCOIS Dufour wrote:
> > > hi to all
> > > my video chatt aplication have to serve image from user end to other
> >
> >user
> >
> > > end the log file is simply growing every second is there a way to keep
> >
> >only
> >
> > > like the 20 last request in log?
> > >
> > > thank in advance
> >
> >to be run from cron:
> >
> >#!/bin/bash
> >logfile="/var/log/somelog"
> >logsize=`ls -s $logfile | awk '{ print $1 }'`
> >date=`date -I`
> >
> >if [[ ! $logsize > 200000 ]] ; then
> > tar czf mylog.${date}.tar.gz $logfile
> > rm -rf $logfile && touch $logfile
> >fi
> >
> > > [EMAIL PROTECTED]
> > > administrateur http://entre-nous.qc.tc
> > >
> > > _________________________________________________________________
> > > MSN Search, le moteur de recherche qui pense comme vous !
> > > http://fr.ca.search.msn.com/
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >--
> >+---------------------------------------------------------------+
> >
> >| Nicholas Bernstein | [EMAIL PROTECTED] |
> >| UNIX Systems Administrator | http://www.docmagic.com |
> >| Document Systems Inc. | |
> >
> >+---------------------------------------------------------------+
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
> _________________________________________________________________
> MSN Messenger : discutez en direct avec vos amis !
> http://messenger.fr.msn.ca/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- +---------------------------------------------------------------+ | Nicholas Bernstein | [EMAIL PROTECTED] | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems Inc. | | +---------------------------------------------------------------+
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://fr.ca.search.msn.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]