Created
August 7, 2021 13:50
-
-
Save evilgeniuschronicles/30f735789dc9ba0e0af4093940cec319 to your computer and use it in GitHub Desktop.
Transient Directory Cron Jobs
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
46 */6 * * * find /home/dave/Transient/ -maxdepth 20 -type f -mtime +14 -exec rm {} \; | |
46 */6 * * * find /home/dave/Transient/ -maxdepth 20 -type l -mtime +14 -exec rm {} \; | |
46 */6 * * * find /home/dave/Transient/ -maxdepth 20 -type d -mtime +14 -exec rmdir {} \; | |
46 */6 * * * find /home/dave/Transient/ -maxdepth 20 -type d -iname ".*" -mtime +14 -exec rmdir {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment