[osiris-devel] Re: [osiris] Old database removal script - see attacment (Script is 'BETA' grade, tested on 1 server only)

Alexei_Roudnev Alexei_Roudnev at exigengroup.com
Thu Jun 10 13:37:05 EDT 2004


I hate the whole idea of keeping links, instead of creating 'contributed'
directory and 'binaries' folder on the osiris FTP.

Reason is simple - the life time of any server, where I can put this script,
is not the same as of Osiris WEB server,
so if I put something there, it can disappear before the end of life for
Osiris. Such approach (link) can work for binaries, because it is
just a matter of time to compile them again, but it should not work for
config samples, scripts, tools etc.

(Anyway, I can put it for download).


----- Original Message ----- 
From: "Brian Wotring" <brian at shmoo.com>
To: "Alexei Roudnev" <Alexei_Roudnev at exigengroup.com>
Sent: Thursday, June 10, 2004 6:35 AM
Subject: Re: [osiris] Old database removal script - see attacment (Script is
'BETA' grade, tested on 1 server only)



If you post it somewhere for download, I will post the link on the
contributions page.

On Jun 9, 2004, at 9:05 PM, Alexei Roudnev wrote:

> See attachment. I run this script daily, removing old databases and
> sticked temporary files.
>
> Script removes data base, if:
> - it was not changed during last N (default 3) days
> AND
> - next database was not changed during last N (default 3) days
> AND
> - it is not one of last M (default - 4) databases.
>
> Do not run it, if you archive databases. Of course, expiration should
> be (better) implemented in the osirismd itself.
>
>
> <daily.bat><osiris_clean.pl>___________________________________________
> ____
> osiris mailing list
> osiris at lists.shmoo.com
> https://lists.shmoo.com/mailman/listinfo/osiris
--
   Brian Wotring ( brian at shmoo.com )
   PGP KeyID: 0x9674763D





More information about the osiris-devel mailing list