- Tracey
- Posts: 3
- Starts: 4
- Wiki Edits: 0
- Location: Concord, MA, USA
I believe rake tmp:sessions:clear will clear out all my sessions - and that is what I want to do. However, I think I would rather clear out only the "stale" sessions - like those that haven't been touched for 12 hours. I believe a command like this would work
find /tmp/ -name 'ruby_sess*' -mmin +720 -delete
would do this. However, when I try,I get an "Operation not permitted" message
How can I accomplish this ?
2008-08-07 10:33 AM