]> git.openstreetmap.org Git - chef.git/blob - cookbooks/web/templates/default/rails.cron.erb
Improve rails tmp dir cleanup script
[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