]> git.openstreetmap.org Git - chef.git/commitdiff
Make planet-notes-dump cron quiet
authorGrant Slater <git@firefishy.com>
Fri, 22 Aug 2014 21:34:08 +0000 (22:34 +0100)
committerGrant Slater <git@firefishy.com>
Fri, 22 Aug 2014 21:34:23 +0000 (22:34 +0100)
cookbooks/planet/templates/default/planet-notes-dump.cron.erb

index 3c5709af15cc23bb5977b6661f5d28f0f9bb7e0c..40c07ed5375d25cf34e0c047a614e6f23d1a1fb1 100644 (file)
@@ -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