From: Simon Ruderich Date: Wed, 23 Oct 2013 23:13:26 +0000 (+0200) Subject: crontab: Remove CtrlP cache files after one day. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=0c54eee019637874a4f8f85b6a90976d6e8f46c8;p=config%2Fdotfiles.git crontab: Remove CtrlP cache files after one day. --- diff --git a/crontab b/crontab index 11c2456..16b060e 100644 --- a/crontab +++ b/crontab @@ -16,6 +16,6 @@ # along with this file. If not, see . -# 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 +7 -delete; true +# Delete CtrlP cache files older than one day 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 +1 -delete; true