Created
November 2, 2012 09:52
-
-
Save devopsmariocom/3999845 to your computer and use it in GitHub Desktop.
Daily Indexer Cleaner
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
#!/bin/sh | |
# Remove Index older than 8 hours | |
find /var/tmp/ -name "j-*" -mmin +500 -exec rm -r {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment