X-Git-Url: https://git.madduck.net/etc/crontab.git/blobdiff_plain/10fef5876d301f5d48f45fea60c6554543b6b01c..0590b8b9c612a70e3bf4f2d13af943f01d844498:/.crontab.d/base?ds=sidebyside diff --git a/.crontab.d/base b/.crontab.d/base index e095a73..0f2a3bd 100644 --- a/.crontab.d/base +++ b/.crontab.d/base @@ -1,5 +1,6 @@ SHELL=/bin/zsh MAILTO=madduck+crontab -38 4 * * * [[ -d $TMPDIR ]] && echo '- *' >| $TMPDIR/.backup-filter && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(NDa+1L0,.NDa+28,@NDa+28,N-@) -- rm -- +38 4 * * * [[ -d $TMPDIR ]] && echo '- *' >| $TMPDIR/.backup-filter && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(.NDa+1L0,.NDa+28,@NDa+28,N-@) -- rm -- 48 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(/ND^F) -- rmdir -- +58 4 * * * for i in thumbnails fontconfig; do [[ -d $HOME/.cache/$i ]] || continue; autoload -U zargs && zargs --no-run-if-empty -- $HOME/.cache/$i/**/*(.NDa+14) -- rm --; done