From: Grant Slater Date: Fri, 22 Aug 2014 21:34:08 +0000 (+0100) Subject: Make planet-notes-dump cron quiet X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d70ba4037b7d73ffad11fe8d91177b7118d7bd50?ds=inline Make planet-notes-dump cron quiet --- diff --git a/cookbooks/planet/templates/default/planet-notes-dump.cron.erb b/cookbooks/planet/templates/default/planet-notes-dump.cron.erb index 3c5709af1..40c07ed53 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 +0 3 * * * www-data /usr/local/bin/planet-notes-dump --quiet #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