Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Archive-Log

Re: Archive-Log

From: Kirt Thomas <kirtt_at_espresso.org>
Date: 2000/07/15
Message-ID: <c2g2nsghprs9iqgckh7d1h75357rh07lpi@4ax.com>#1/1

I use a shell script....

days_to_keep=$1;
whereat=$2
find $whereat -print -mtime +$days_to_keep -exec rm -f {} \;

Bingo :)

On Sun, 16 Jul 2000 02:51:43 GMT, David Erwin <daveerwin_at_home.com> wrote:

>On unix you can delete files older than 1 week using the unix find
>command. See "man find" for details.
>
>Dave
>
>Christian Hartmann wrote:
>>
>> Hi there,
>>
>> is it possible to let oracle create archive-logs, but delete them if they
>> are older than, for example one week?
>>
>> If yes, how?
>>
>> Thanx for help,
>>
>> Christian Hartmann
Received on Sat Jul 15 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US