From 0c54eee019637874a4f8f85b6a90976d6e8f46c8 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 24 Oct 2013 01:13:26 +0200 Subject: [PATCH] crontab: Remove CtrlP cache files after one day. --- crontab | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.44.2