]> git.sev.monster Git - aports.git/blob - testing/cronwrap/cronwrap
testing/cronwrap: add logrotate
[aports.git] / testing / cronwrap / cronwrap
1 #!/bin/sh
2 set -eu
3 set -o pipefail
4
5 _b=$(basename $1)
6
7 "$@" 2>&1 \
8         | awk "{print strftime(\"%b %d %H:%M:%S `hostname -s` info $_b[$$] \"), \$0; fflush();}" \
9         | tee -a "/var/log/$_b.cron.log"
This page took 0.034524 seconds and 4 git commands to generate.