# 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.
export PRIO=31
+# unrz191 2015-09-11: reduce number of 5000 because we have deleted a lot of tiles that are cheap to rerender.
/home.local/osm/bin/osmtilecleanup.pl --zoom 0-12 --action rerender \
- --limit 5000 --rrs /home.local/osm/bin/osmrerenderwrapper.sh /var/lib/tirex/tiles/osm
+ --limit 2000 --rrs /home.local/osm/bin/osmrerenderwrapper.sh /var/lib/tirex/tiles/osm
/home.local/osm/bin/osmtilecleanup.pl --zoom 0-12 --action rerender \
- --limit 5000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh /var/lib/tirex/tiles/osmde
+ --limit 2000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh /var/lib/tirex/tiles/osmde
# Regenerate (part of) zoomlevel 13-14 tiles. Some of these are pretty expensive, so
# we rather rerender them scheduled than when they change (usually they really don't,
# it is 99 percent false alerts).
# Update tile stats for munin
tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osm.stats osm
tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osmde.stats osmde
+tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osmhd.stats osmhd
DOW=`/bin/date '+%w'`
if [ "$DOW" == "6" -o "$DOW" == "3" ] ; then