Trying to send cURL in BASH more times -


i have bash script

for in {1..15}; curl ..here curl.. ; done 

for send curl every 1500ms , 15x not 1500ms,and not know how edit it, im doing bad ?

i order execute command every x seconds/milliseconds must somehow delay loop. using sleep easiest way it:

for in {1..15}   # non-blocking curl command here   sleep 1.5 done 

as default curl command block execution of loop , times between each loop iteration longer , not even. overcome need prepare curl command non-blocking.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -