From: martin f. krafft Date: Sun, 3 Jan 2010 01:01:00 +0000 (+1300) Subject: only clean header_cache while on AC power X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/d46e8bf6c0c123cb3ecd5cf7e33a0bf7e10a3b0e?ds=sidebyside only clean header_cache while on AC power --- diff --git a/.crontab.d/mutt b/.crontab.d/mutt index 2f80147..203860b 100644 --- a/.crontab.d/mutt +++ b/.crontab.d/mutt @@ -1 +1 @@ -29 4 * * * autoload -U zargs && zargs --no-run-if-empty -- $VARDIR/mutt/header_cache/*~*/.gitignore(.NDa+28) -- rm -- +29 4 * * * on_ac_power && autoload -U zargs && zargs --no-run-if-empty -- $VARDIR/mutt/header_cache/*~*/.gitignore(.NDa+28) -- rm --