]> git.madduck.net Git - etc/crontab.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

also clean fontconfig cache
authormartin f. krafft <madduck@madduck.net>
Sat, 10 Aug 2019 22:46:34 +0000 (10:46 +1200)
committermartin f. krafft <madduck@madduck.net>
Sat, 10 Aug 2019 22:46:34 +0000 (10:46 +1200)
.crontab.d/base

index 225d773c75dd4f231d011f854326fe00dc1286f5..0f2a3bd229de92dfaa15b32811aa0928c74f5951 100644 (file)
@@ -3,4 +3,4 @@ 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 --
 48 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(/ND^F) -- rmdir --
 
 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 * * * [[ -d $HOME/.cache/thumbnails ]] && autoload -U zargs && zargs --no-run-if-empty -- $HOME/.cache/thumbnails/**/*(.NDa+14) -- rm --
+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