On Fri, 22 Oct 2010, Massimo Sgaravatto - INFN Padova wrote:
> We are implementing that
> The idea is to allow specifying something like
>
> JobDBAdminPurger.sh -s 0-3:1:2-5
>
> that would mean:
>
> - purge jobs that are in status 0 (registered) for more than 3 days
> - purge all jobs that are in status 1 (pending)
> - purge jobs that are in status 2 (idle) for more than 5 days
>
> Is this fine ?
> Is it ok to consider days as "granularity" ?
>
Eric has finalized the implementation
The whole stuff is documented at:
http://grid.pd.infn.it/cream/field.php?n=Main.HowToPurgeJobsFromTheCREAMDB
Cheers, Massimo
|