cron.daily.ex
author Heiko Schlittermann <hs@schlittermann.de>
Wed, 21 Jun 2017 00:26:46 +0200
changeset 73 e2559ee78cb3
parent 49 3e57c577c01e
permissions -rw-r--r--
[snapshot] working?
#! /bin/bash

command -v exigrey >/dev/null || exit 0

# only output if terminal is connected
test -t 0 || exec >/dev/null

exigrey --clean 3 '*'
exigrey --purge 5 '*'