Skip to content

Instantly share code, notes, and snippets.

@tomtor
Created August 16, 2018 15:25
Show Gist options
  • Save tomtor/c268a47fb9f7bd996d056b959bd3eda6 to your computer and use it in GitHub Desktop.
Save tomtor/c268a47fb9f7bd996d056b959bd3eda6 to your computer and use it in GitHub Desktop.
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