Created
December 22, 2020 17:32
-
-
Save delfer/919e95e6f8333a435e249752897e34b5 to your computer and use it in GitHub Desktop.
autoclean tmp
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
0 12 * * * find ~/tmp/1day -mtime +1 -exec rm -rf {} \; | |
0 13 * * * find ~/tmp/7days -mtime +7 -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment