Skip to content

Instantly share code, notes, and snippets.

@developer-sdk
Created September 12, 2023 15:00
Show Gist options
  • Save developer-sdk/6cb394b23e6c9e7e585fdeae8e4154cc to your computer and use it in GitHub Desktop.
Save developer-sdk/6cb394b23e6c9e7e585fdeae8e4154cc to your computer and use it in GitHub Desktop.
#################################
# curl
#################################
# 2분간 재시도 횟수 5회
curl --retry 5 --retry-max-time 120 http://127.0.0.1
# connection refused 오류도 재작업
curl --retry-connrefused http://127.0.0.1
# 모든 오류에 재작업
curl --retry 12 --retry-all-errors http://127.0.0.1
#################################
# wget
#################################
wget -nv --retry-connrefused --waitretry=30 --read-timeout=30 --timeout=15 -t 3 http://127.0.0.1/a.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment