]> git.sev.monster Git - aports.git/blob - testing/cronwrap/cronwrap
e89a82e0199680a5a723e7dc203597f1ce5aa2f3
[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.038236 seconds and 4 git commands to generate.