Skip to content

Instantly share code, notes, and snippets.

@zyriuse75
Created January 13, 2014 13:22
Show Gist options
  • Save zyriuse75/3157c179950ac4570c9a to your computer and use it in GitHub Desktop.
Save zyriuse75/3157c179950ac4570c9a to your computer and use it in GitHub Desktop.
(1..180000).step(20000)do |userb|
(20000..180000).step(20000)do |usere|
@curl = %x[ curl -i -s -H "Host: xxxx" "http://xxxx/scripts/exportStatsCsvAtos/testA1?start='{userb}'&end='{usere}'&startDate='#{@array_timestampdate[0]}'&endDate='#{@array_timestampdate[1]}'" ]
sleep(10)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment