Re: [Soaplab-users] Managing soaplab output data written to disk
Brought to you by:
marsenger
|
From: Martin S. <se...@eb...> - 2005-11-07 11:52:29
|
> Eventually this data will be redundant and should be deleted to save
> disk space. Does soaplab contain any utility to administer this data
> cache?
>
Well, yes and no :-)
Soaplab has two parts: AppLab and classes running within Tomcat. AppLab
is responsible for storing result in the place you notice. For these files
there is no utility provided but the following two-line script will do it:
The following should remove all files that are older than 3 days:
cd /ebi/extserv/soaplab-work/a
find ./ type f -and -mtime +3 -exec /bin/rm {} \;
If you install also mySql (which is optional) then classes within
Tomcat stores results in mySQL and in the same time they clean (at least I
hope so :-)) the AppLab results. For clearing the mySql database there is
a sql script in the soaplab/utils directory (in the Soaplab CVS version).
Cheers,
Martin
--
Martin Senger
email: mar...@gm...
skype: martinsenger
consulting for:
International Rice Research Institute
Biometrics and Bioinformatics Unit
DAPO BOX 7777, Metro Manila
Philippines, phone: +63-2-580-5600 (ext.2324)
|