From: Tom Hughes Date: Wed, 31 Aug 2016 11:31:19 +0000 (+0100) Subject: Avoid errors cleaning export files X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/4ce829874015d05a97dc58e365ee1e9966019b50 Avoid errors cleaning export files --- diff --git a/cookbooks/tile/templates/default/export.cron.erb b/cookbooks/tile/templates/default/export.cron.erb index d2f3be178..b598e4113 100644 --- a/cookbooks/tile/templates/default/export.cron.erb +++ b/cookbooks/tile/templates/default/export.cron.erb @@ -3,4 +3,4 @@ # DO NOT EDIT - This file is being maintained by Chef # Removes stale tmp files from the export tab -exec find /tmp -name 'export??????' -mmin +60 -print0 | xargs -0r rm -f +exec find /tmp -ignore_readdir_race -name 'export??????' -mmin +60 -delete