Created
May 14, 2020 20:05
-
-
Save vmpartner/f1caae9cb2ef464ba9747d6133616356 to your computer and use it in GitHub Desktop.
Clean docker php sessions
This file contains hidden or 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
for fn in $(docker ps -aqf "name=php"); do | |
docker exec $fn /usr/lib/php/sessionclean | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment