X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4e0a61be7ea612c04acfe0162a085938a6ef685b..95e1e4603eb8c32acf8ee58c845ec4ce5bfdd56c:/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 index 35256a2ce..e34880f36 100644 --- a/cookbooks/web/templates/default/rails.cron.erb +++ b/cookbooks/web/templates/default/rails.cron.erb @@ -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 %>