Added sleep
This commit is contained in:
parent
709881566a
commit
9a2f241a55
@ -9,7 +9,7 @@ downloadFolder="Instructions"
|
|||||||
# 1 Download errors reported
|
# 1 Download errors reported
|
||||||
# 2 Existing files and download errors reported
|
# 2 Existing files and download errors reported
|
||||||
|
|
||||||
error_level=2
|
error_level=1
|
||||||
|
|
||||||
echo "" > $logfile
|
echo "" > $logfile
|
||||||
if [ -f "instructions" ]; then
|
if [ -f "instructions" ]; then
|
||||||
@ -60,6 +60,8 @@ do
|
|||||||
echo "$filename was not downloaded. Check CURL" >> $logfile
|
echo "$filename was not downloaded. Check CURL" >> $logfile
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
#random sleep in order to not look like a script
|
||||||
|
sleep $(( ( RANDOM % 10 ) + 1 ))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user