title: Disabling play.jobs.Job from running while in test mode in play framework
body: <p>Using play framework 1.2.4 with scala.
  I have few play jobs that looks like like </p>
  
  <pre><code>@OnApplicationStart class MyOtherJob extends Job {  ...  } 
  
  @Every("30s")  class MyJob extends Job {  ...  }
  </code></pre>
  
  <p>These jobs are running while the application is in test mode, so they 
  mess up things. 
  How can I disable them from running while testing? </p>
  
  <p>I tried the following application config, didn't help: </p>
  
  <pre><code># Jobs executor 
  # ~~~~~~ 
  # Size of the Jobs pool 
  play.jobs.pool=10 
  test.play.jobs.pool=0 
  test.cron.queue.every=never 
  dev.cron.queue.every=20s 
  prod.cron.queue.every=20s 
  test.cron.onApplicationStart.trigger=never 
  dev.cron.onApplicationStart.trigger=auto 
  prod.cron.onApplicationStart.trigger=auto 
  </code></pre>