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
Post a Comment