title: Locust : How to make locust run for a specific amount of time
body: <p>official <a href="http://docs.locust.io/en/latest/">locustio documentation</a> tells about how to write simple locust tasks which run indefinitely.</p>
  
  <p>Couldn't find out how to run load which lasts for a specific amount of time, so that the test will automatically stop after the specified interval.</p>
  
  <p>I dont need it from the web interface, command line/code option will be just great.</p>