]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/rails.cron.erb
Add a load more cookbooks to the public repository
[chef.git] / cookbooks / web / templates / default / rails.cron.erb
diff --git a/cookbooks/web/templates/default/rails.cron.erb b/cookbooks/web/templates/default/rails.cron.erb
new file mode 100644 (file)
index 0000000..7945c3d
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Cleanup temporary directory
+find <%= @directory %>/tmp -mtime +28 -print0 | xargs -0r rm