php - How to run a curl script multiple times using windows command prompt -


i total novice @ scripting, , need in curl scripting. need access url multiple times using curl script in windows command prompt, need calling curl script multiple times. there way : (a) access url request multiple times using single curl script, (b) or way in command prompt call single curl script multiple times?

to execute curl program 3 times, try...

for /l %i in (1,1,3) your_curl_script 

the last number in (1,1,3) controls looping count.

note: solution (b) option. put curl code inside batch file , call batch file x number of times. dos command line different, such:

for /l %i in (1,1,3) your_batch_file 

Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -