title: APScheduler how to trigger job now
body: <p>I have an APScheduler in a Flask app, sending events at some intervals.</p>
  
  <p>Now i need to "refresh" all jobs, in fact just starting them <em>now</em> if they don't run without touching on the defined interval.</p>
  
  <p>I'v tried to call job.pause() then job.resume() and nothing, and using job. reschedule_job(...) would trigger it but also change the interval... which i don't want.</p>
  
  <p>My actual code is bellow:</p>
  
  <pre><code>cron = GeventScheduler(daemon=True)
  # Explicitly kick off the background thread
  cron.start()
  
  cron.add_job(_job_time, 'interval', seconds=5, id='_job_time')
  cron.add_job(_job_forecast, 'interval', hours=1, id='_job_forecast_01')
  
  @app.route("/refresh")
  def refresh():
      refreshed = []
      for job in cron.get_jobs():
           job.pause()
           job.resume()
           refreshed.append(job.id)
      return json.dumps( {'number': len(cron.get_jobs()), 'list': refreshed} )
  </code></pre>