]> git.openstreetmap.org Git - chef.git/blob - 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
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 %>