From: osm@osm.rrze Date: Tue, 4 Dec 2012 09:19:38 +0000 (+0100) Subject: add cleanup for bicycleparking/lecturehall-layer X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?a=commitdiff_plain;h=91afa24cea84e500890b076920a239a143f5d840;p=osmrrze.git add cleanup for bicycleparking/lecturehall-layer --- diff --git a/scripts/dailymaint.sh b/scripts/dailymaint.sh index f321130..5e4bc85 100755 --- a/scripts/dailymaint.sh +++ b/scripts/dailymaint.sh @@ -7,6 +7,9 @@ sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 13-14 --action del # Delete tiles in zoomlevel 15-20 that are older than 168 hours = 7 days sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osm sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osmde +# Delete all tiles in our bicycle/lecture hall overlay that are older +# than 24 hours as these are REALLY cheap to regenerate on the fly. +sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 10-20 --action delete --rmemptydirs --minage 24 /var/lib/tirex/tiles/rrze-ovl # Regenerate a part of zoomlevel 0-12 tiles. There are at most 350000 such tiles. # At 5000 a day, it'll take 70 days to regenerate all. As they hardly ever change, that should be fine. /home.local/osm/bin/osmtilecleanup.pl --zoom 0-12 --action rerender \