rpm-ostree/fedostree/fedostree-make-trees-loop
2013-12-23 15:19:27 -05:00

10 lines
229 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}"
$(dirname $0)/fedostree-make-trees > ${path}/log.txt 2>&1
echo "Complete, sleep 1h"
sleep 1h
done