cron.daily.ex
author Heiko Schlittermann <hs@schlittermann.de>
Thu, 02 Jun 2016 22:17:27 +0200
changeset 68 8bc711bdd180
parent 49 3e57c577c01e
permissions -rw-r--r--
Add more tests
#! /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 '*'