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

echo "Sleeping..."
sleep 60
done done



Loading…
Cancel
Save