From: Simon Ruderich Date: Fri, 14 Dec 2012 23:31:38 +0000 (+0100) Subject: crontab: Delete old CtrlP cache entries after a week. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=bcb680cf183100767b75a8a27622ef42de3dc033 crontab: Delete old CtrlP cache entries after a week. --- 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