Added sleep

This commit is contained in:
FrederikBaerentsen 2020-06-23 15:19:59 +02:00
parent 709881566a
commit 9a2f241a55

View File

@ -9,7 +9,7 @@ downloadFolder="Instructions"
# 1 Download errors reported
# 2 Existing files and download errors reported
error_level=2
error_level=1
echo "" > $logfile
if [ -f "instructions" ]; then
@ -60,6 +60,8 @@ do
echo "$filename was not downloaded. Check CURL" >> $logfile
fi
fi
#random sleep in order to not look like a script
sleep $(( ( RANDOM % 10 ) + 1 ))
fi
fi
fi