title: APScheduler not starting?
body: <p>I would like to run a python script during the night and so I was thinking of using APScheduler. I'll start running it at 1am of the following night and it will run once every night</p>
  
  <p>my scheduler script looks like this (scheduler.py):</p>
  
  <pre><code>from apscheduler.scheduler import Scheduler
  from datetime import datetime, timedelta, time, date
  
  def myScript():
      print "ok"
  
  if __name__ == '__main__':
      sched = Scheduler()
      startDate = datetime.combine(date.today() + timedelta(days=1),time(1))
      sched.start()
      sched.add_interval_job(myScript, start_date = startDate, days=1)
  </code></pre>
  
  <p>In the shell, I do:
  <code>python myScheduler.py &amp; disown</code> (I'm running it remotely, so I want to run it in the background and disown it. 
  Immediately, a number (PID) appears below the line, as every other python script would do. But when I do ps -e | grep python, that number is not there. I tried to do <code>kill -9 PID</code> and I got a message saying that the job does not exist. </p>
  
  <p>Is the scheduler running? If yes, how can I stop it? if not, what am I doing wrong?</p>