source: subversion/sites/tile.openstreetmap.org/crontab @ 5396

Last change on this file since 5396 was 2869, checked in by jonb, 13 years ago

tile crontab - add current re-render process

File size: 464 bytes
Line 
1# crontab for tile help
2
3# every day at 2am delete tiles which havn't been looked at in more than a month
40 2 * * * /usr/bin/mysql -u tile -ptile tile -e 'delete from tiles where created_at < NOW() - interval 28 day;'
5
6# clear out the tile ip limit stats every day
70 0 * * * /usr/bin/mysql -u tile -ptile tile -e 'truncate table access;'
8
9# Every hour get a list of dirty tiles and re-render them
10*/1 * * * * /path/to/render_some_tiles.rb > /dev/null 2> /dev/null
Note: See TracBrowser for help on using the repository browser.