]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/export.cron.erb
Cleanup temporary files from the export CGI script
[chef.git] / cookbooks / tile / templates / default / export.cron.erb
diff --git a/cookbooks/tile/templates/default/export.cron.erb b/cookbooks/tile/templates/default/export.cron.erb
new file mode 100644 (file)
index 0000000..da82854
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Removes stale tmp files from the export tab
+exec find /tmp -name 'export??????' -mmin +60 -delete