Browse Source

Sleep after chunking.

master
Alard 11 years ago
parent
commit
e8686a4136
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      chunk-multiple

+ 4
- 0
chunk-multiple View File

@@ -5,6 +5,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

while [[ -f RUN ]]
do
date
$SCRIPT_DIR/chunker
result=$?
if [[ $result -ne 0 ]]
@@ -13,5 +14,8 @@ do
echo "chunker exited with $result"
exit $result
fi

echo "Sleeping..."
sleep 60
done


Loading…
Cancel
Save