]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/rails.cron.erb
Disable gpximport, statistics and cleanup roles on spike-04
[chef.git] / cookbooks / web / templates / default / rails.cron.erb
index 35256a2cebf89a3f3b11c71182791d63b337b507..e34880f36ec537d5a243dd7e792aa09da711347f 100644 (file)
@@ -2,3 +2,6 @@
 
 # Cleanup temporary directory
 find <%= @directory %>/tmp \( \( -type f -mtime +28 \) -o \( -type d -empty \) \) -delete
+
+# Cleanup assets
+/usr/local/bin/cleanup-rails-assets <%= @directory %>