add cleanup for bicycleparking/lecturehall-layer
authorosm@osm.rrze <osm@osm.rrze.uni-erlangen.de>
Tue, 4 Dec 2012 09:19:38 +0000 (10:19 +0100)
committerosm@osm.rrze <osm@osm.rrze.uni-erlangen.de>
Tue, 4 Dec 2012 09:19:38 +0000 (10:19 +0100)
scripts/dailymaint.sh

index f321130e60111fb46a48908e219e9c6dda2ff04f..5e4bc85d69cc7a4d1487b43f0eac623fa9d27634 100755 (executable)
@@ -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 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 \
 # 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 \
This page took 0.053322 seconds and 4 git commands to generate.