Alex Rivera | Logout

Curl: sleep/delay between requests

Asked 2012-02-09T14:46:43.773
17

I am trying to download flurry exception logs using the following command.

curl --cookie ./flurry.jar -k -L "https://dev.flurry.com/exceptionLogsCsv.do?projectID=49999&versionCut=versionsAll&intervalCut=allTime&direction=1&offset=[0-100:10]" --output "exception#1.csv"

It works fine and it downloads the csv files based on the offset(10,20,30 etc). I would like to insert a delay between each request. Is it possible to do that in CURL?

Edit
Report

1 Answer

5

wget has delay options

wget --wait=seconds

and also random delay option

wget --random-wait
answered 2012-02-09T15:27:43.083

Your Answer