]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/templates/default/planet-notes-dump.cron.erb
Make planet redirect to https
[chef.git] / cookbooks / planet / templates / default / planet-notes-dump.cron.erb
1 MAILTO=grant-smaug@firefishy.com
2 0 3 * * * www-data /usr/local/bin/planet-notes-dump
3
4 #Delete Planet Notes dump files older than 8 days
5 10 8 * * * www-data find /store/planet/notes/20??/ -maxdepth 1 -type f -iname 'planet-notes-??????.osn*' -printf '\%T@ \%p\n' | sort -k 1nr | sed 's/^[^ ]* //' | tail -n +17 | xargs -r rm -f