]> git.openstreetmap.org Git - chef.git/blob - cookbooks/web/templates/default/rails.cron.erb
Fix issues reported by new rubocop
[chef.git] / cookbooks / web / templates / default / rails.cron.erb
1 #!/bin/sh
2
3 # Cleanup temporary directory
4 find <%= @directory %>/tmp \( \( -type f -mtime +28 \) -o \( -type d -empty \) \) -delete
5
6 # Cleanup assets
7 /usr/local/bin/cleanup-rails-assets <%= @directory %>