#!/bin/bash # Clear out stale sessions (last accessed more than 6 hours ago) /usr/bin/find /home/captain/apps/Intranet/current/tmp/sessions \ -name "ruby_sess*" -amin +360 -exec rm {} \;