X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d70ba4037b7d73ffad11fe8d91177b7118d7bd50..c9bac0802fe6ca5a21d8038a71973f1992610a79:/cookbooks/planet/templates/default/planet-notes-dump.cron.erb diff --git a/cookbooks/planet/templates/default/planet-notes-dump.cron.erb b/cookbooks/planet/templates/default/planet-notes-dump.cron.erb index 40c07ed53..3c5709af1 100644 --- a/cookbooks/planet/templates/default/planet-notes-dump.cron.erb +++ b/cookbooks/planet/templates/default/planet-notes-dump.cron.erb @@ -1,5 +1,5 @@ MAILTO=grant-smaug@firefishy.com -0 3 * * * www-data /usr/local/bin/planet-notes-dump --quiet +0 3 * * * www-data /usr/local/bin/planet-notes-dump #Delete Planet Notes dump files older than 8 days 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