cron.daily.ex
author Heiko Schlittermann <hs@schlittermann.de>
Sat, 04 Jun 2016 23:05:29 +0200
changeset 72 f095f28db247
parent 49 3e57c577c01e
permissions -rw-r--r--
Implement auto-history
#! /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 '*'