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: How to delet archive log file

Re: How to delet archive log file

From: Md Irfan <irfan_pk_at_hotmail.com>
Date: 29 Jul 2002 22:29:18 -0700
Message-ID: <c42168e7.0207292129.4920e888@posting.google.com>


"Debuger" <z_yikai_at_163.net> wrote in message news:<ai370k$20gc$1_at_mail.cn99.com>...
> Hi all,
> My archive log file fulled on the rawdisk, I want to know how to delet
> it?
>

If you are using Unix:
write a small shell like

find /directory_of_logs -ctime +3 -print -exec rm -r {} \;

and schedule this job thro cron periodically as you wish

-ctime +3 will delete all the files created before 3 days, you can use the -atime or -mtime option too. Received on Tue Jul 30 2002 - 00:29:18 CDT

Original text of this message

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