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: Jim <infosys_at_medfab.com>
Date: 2000/07/19
Message-ID: <8l4qcu$975$1@news.efn.org>#1/1

You can also setup a cron job that would have access to read and write in the archivelog directory with a line similar to:

00 20 * * 1-6 find /<ARCHIVE DIRECTORY PATH> -name 'arc*.arc' -mtime +7 -exec rm -rf {} \;

This would execute at 8pm Monday thru Saturday and go back 7 days prior to yesterday at execution time and delete any versions prior to that time.

HTH "David Erwin" <daveerwin_at_home.com> wrote in message news:3971250C.B04B56A7_at_home.com...
> 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 Wed Jul 19 2000 - 00:00:00 CDT

Original text of this message

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