rpm-ostree/fedostree/fedostree-make-trees-loop
Colin Walters bdb549bbbf fedostree: Handle writing multiple logfiles in -loop
We want separate logfiles for each built tree really.
2014-01-04 09:06:50 -05:00

10 lines
248 B
Bash
Executable File

#!/bin/sh
while true; do
path=logs/$(date +%Y/%m/%d/%H)
mkdir -p ${path}
echo "Starting run, logging to ${path}"
env LOGDIR=${path} $(dirname $0)/fedostree-make-trees > ${path}/log.txt 2>&1
echo "Complete, sleep 1h"
sleep 1h
done