You do actually, but it's part of the build script, which was commented 
out when Hudson started doing the nightlies for us.

-Arne

Justin Deoliveira wrote:
> Hmmm... I have a nightly cron job that is supposed to be doing this but 
> apparently it is not running. Anyways, the one liner command is much 
> more concise than my brute force approach was. So +1 and I can kill the 
> cron job once and for all.
>
> Andrea Aime wrote:
>   
>> Andrea Aime ha scritto:
>>     
>>> Hi,
>>> looking at the nightly builds I noticed they
>>> are accumulating:
>>> http://gridlock.openplans.org/geoserver/1.7.x/
>>>
>>> I guess we need to add something at the end of the
>>> script that kills everything older than x days.
>>>
>>> Arne suggested something along the lines of:
>>>
>>> find $dist -mtime +6 -exec -rf {} \;
>>>       
>> Original Arne suggestion was actually something with
>> a file filter, I removed it to just use one command
>> but it's in fact dangerous.
>> So it would be more something like:
>>
>> find $dist -name 'geoserver*bin.zip' -mtime +6 -exec -rf {} \;
>> find $dist -name 'geoserver*war.zip' -mtime +6 -exec -rf {} \;
>> find $dist -name 'ext-*.zip' -mtime +6 -exec -rf {} \;
>>
>> And we can keep more days, a few gigs load is fine, some
>> maybe last 20 days? (should amount to 2GB more or less)
>>
>> Cheers
>> Andrea
>>
>>     
>
>
>   


-- 
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to