Skip to content

Instantly share code, notes, and snippets.

@iamakimmer
Last active September 11, 2017 18:42
Show Gist options
  • Save iamakimmer/c95fc80a1cb6f476142e420d9e07358a to your computer and use it in GitHub Desktop.
Save iamakimmer/c95fc80a1cb6f476142e420d9e07358a to your computer and use it in GitHub Desktop.
SMU delete old session files #JavaScript
#delete sessions older than 90 days in public_html folder
find var/session/* -mtime +90 -exec rm {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment