This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# pkoch: I've removed the trace funcionality, unified outputs, and only send email on non-zero result. | |
# Cronic v3 - cron job report wrapper | |
# Copyright 2007-2016 Chuck Houpt. No rights reserved, whatsoever. | |
# Public Domain CC0: http://creativecommons.org/publicdomain/zero/1.0/ | |
set -eu | |
TMP=$(mktemp -d) | |
OUT=$TMP/cronic.out |