From d70ba4037b7d73ffad11fe8d91177b7118d7bd50 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 22 Aug 2014 22:34:08 +0100 Subject: [PATCH] Make planet-notes-dump cron quiet --- cookbooks/planet/templates/default/planet-notes-dump.cron.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2