find /tmp/ -name "ruby_sess*" -cmin +60 -exec rm \{} \;
You need to create an account or log in to post comments to this site.
12372 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
find /tmp/ -name "ruby_sess*" -cmin +60 -exec rm \{} \;
You need to create an account or log in to post comments to this site.
You will very seriously remove the first "slash from tmp" otherwise it will Look to your the Root of your server and not the Root of your "rails app".
so "do it" like this:
find tmp/ -name "ruby_sess*" -cmin +60 -exec rm \{} \;
Thank you and trying to not be such a fucking stupid next time.
Your friend,
Kebab King from Jackson Heights