Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to delet archive log file
"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