title: apscheduler in Flask executes twice
body: <p>I have problem when i am using apscheduler in my flask application.</p>
  
  <p>In my view.py file i am writing like this </p>
  
  <pre><code>import time
  from apscheduler.scheduler import Scheduler
  
  def test_scheduler():
       print "TEST"
       print time.time()
  
  
  sched = Scheduler()
  sched.add_interval_job(test_scheduler, seconds=5)
  sched.start()
  </code></pre>
  
  <p>And then this method test_scheduler() executes twice in every five second </p>
  
  <p>TEST
    1360844314.01
    TEST
    1360844314.2</p>