Last active
November 14, 2020 11:58
-
-
Save DaWe35/b0d5a21b7a153b1a6dd441c68a95e40e to your computer and use it in GitHub Desktop.
Remove old PHP sessions from /tmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /tmp -name 'sess_*' -mtime +5 -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment