Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Archive-Log
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