From bcb680cf183100767b75a8a27622ef42de3dc033 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 15 Dec 2012 00:31:38 +0100 Subject: [PATCH] crontab: Delete old CtrlP cache entries after a week. --- crontab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crontab b/crontab index 247955a..11c2456 100644 --- a/crontab +++ b/crontab @@ -16,6 +16,6 @@ # along with this file. If not, see . -# 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 -- 2.44.1