]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
crontab: Delete old CtrlP cache entries after a week.
authorSimon Ruderich <simon@ruderich.org>
Fri, 14 Dec 2012 23:31:38 +0000 (00:31 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 14 Dec 2012 23:31:38 +0000 (00:31 +0100)
crontab

diff --git a/crontab b/crontab
index 247955aebcb4fe331250f028c0ebeef6d565ade6..11c245689d4aaf35e607e434031edf1aa384747f 100644 (file)
--- a/crontab
+++ b/crontab
@@ -16,6 +16,6 @@
 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
 
 
-# Delete CtrlP cache files older than one month to force CtrlP to repopulate
+# Delete CtrlP cache files older than one week to force CtrlP to repopulate
 # the cache with current directory content.
-36 */8 * * * D="$HOME/.vim/cache/ctrlp/"; test -d "$D" && find "$D" -name '\%*' -type f -mtime +30 -delete; true
+36 */8 * * * D="$HOME/.vim/cache/ctrlp/"; test -d "$D" && find "$D" -name '\%*' -type f -mtime +7 -delete; true