Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

curl 2 attempts

curl --connect-timeout 5 
    --max-time 10 
    --retry 5 
    --retry-delay 0 
    --retry-max-time 40 
    'http://your_url'


--max-time 10     (how long each retry will wait)
--retry 5         (it will retry 5 times)
--retry-delay 0   (an exponential backoff algorithm)
--retry-max-time  (total time before it's considered failed)
Comment

PREVIOUS NEXT
Code Example
Shell :: npm start prevent browser 
Shell :: sudo add-apt-repository ppa:diodon-team/stable 
Shell :: using httrack on linux command line 
Shell :: fixing system permission issues in ubuntu 
Shell :: docker run -e 
Shell :: chrome saved cache gif 
Shell :: anydesk: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory 
Shell :: brew gcc arm install 
Shell :: swipl gui mac 
Shell :: mirror remote branch to local repository for fixing production issues on last deployed code 
Shell :: yaml file example ubuntu netplan error 
Shell :: run camunda in linux mint 
Shell :: execute result of query bash 
Shell :: sed print all lines except last 
Shell :: remove admin group ubuntu 
Shell :: clear old allure results 
Shell :: filter in powershell Win32_NTEventlogFile 
Shell :: inpm install 
Shell :: schedule a job bash 
Shell :: task scheduler powershell closes immediately 
Shell :: terminal command set audio volume 
Shell :: Deploy single page application Angular: 404 Not Found nginx 
Shell :: is needed to run `file_system` for your system 
Shell :: How to translate to md5 linux 
Shell :: linux var with special charactors 
Shell :: install config split 
Shell :: git view modified lines 
Shell :: change git to github 
Shell :: Configure jfrog cli from command line 
Shell :: sed variable instead of file 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =