title: How to force apscheduler to add jobs to the job store?
body: <p>I'm adding a job to a scheduler using apscheduler using a script. Unfortunately, the job is not properly scheduled when using a script as I didn't start the scheduler. </p>
  
  <pre><code>scheduler = self.getscheduler() # initializes and returns scheduler
  scheduler.add_job(trigger=trigger, func = function, jobstore = 'mongo') #sample code. Note that I did not call scheduler.start()
  </code></pre>
  
  <p>I'm seeing a message: <code>apscheduler.scheduler - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts</code></p>
  
  <p>The script is supposed to add jobs to the scheduler (not to run the scheduler at that particular instance) and there are some other info which are to be added on the event of a job added to the database. Is it possible to add a job and force the scheduler to add it to the jobstore without actually running the scheduler?</p>
  
  <p>I know, that it is possible to start and shutdown the scheduler after addition of each job to make the scheduler save the job information into the jobstore. Is that really a good approach?</p>
  
  <p>Edit: My original intention was to isolate initialization process of my software. I just wanted to add some jobs to a scheduler, which is not yet started. The real issue is that I've given permission for the user to start and stop scheduler. I cannot assure that there is a running instance of scheduler in the system. I've temporarily fixed the problem by starting the scheduler and shutting it down after addition of jobs. It works.</p>