title: How do I Schedule timed events in python Flask?
body: <p>I'm working on a flask framework trying to schedule a job that will be triggered in 30 min from lunch and will happen only once. </p>
  
  <p>I tried to work with <em>threading.Timer</em>,  But since my job calling a REST request I'm getting <em>RunTimeError: 'working outside of request context' </em> which I just couldn’t solve.</p>
  
  <p>From this thread, I understand that it is not recommended using the threading module on a flask server: 
  <a href="https://stackoverflow.com/questions/33268266/how-do-you-schedule-timed-events-in-flask/33268540#33268540">How do you schedule timed events in Flask?</a></p>
  
  <p>So I'm looking for a solution for a timed trigger job (which doesn’t work on intervals).</p>
  
  <p>It looks like APscheduler must be interval based. </p>
  
  <p>I would be grateful for any help.  </p>