]> 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:

fix tmp cleanup and install .nobackup file
authormartin f. krafft <madduck@madduck.net>
Thu, 17 Jun 2010 06:31:52 +0000 (08:31 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 17 Jun 2010 06:31:52 +0000 (08:31 +0200)
.crontab.d/base

index 4726b6381d04488ee1e5c0b7503aac61ef7fb5ed..74e13c4063a44542ea0160dc4dbc42ff8a663d07 100644 (file)
@@ -1,6 +1,5 @@
 SHELL=/bin/zsh
 MAILTO=madduck+crontab
 
-28 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/*(NDa+1L0) -- rm --
-38 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(.NDa+28) $TMPDIR/**/*(@NDa+28) -- rm --
-48 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(/NDm+28^F) -- rmdir --
+38 4 * * * [[ -d $TMPDIR ]] && : >| $TMPDIR/.nobackup && 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 --