Skip to content

Instantly share code, notes, and snippets.

@tomtor
Created Aug 16, 2018
Embed
What would you like to do?
Wrapper to make upload.py more robust
#!/bin/sh
while :
do
if upload.py "$@"
then
break
else
echo Retry in 60s
sleep 60
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment