title: How to complete a Job when user closes Eclipse application
body: <p>I use org.eclipse.core.runtime.jobs.Job to execute stored procedure which deletes data and to update user interface according to the new data. Thus it is important that this job will be completed even if user closes eclipse application.</p>
  
  <pre><code>final Job execStoredProcJob = new Job(taskName) {
      protected IStatus run(IProgressMonitor monitor) {
          monitor.beginTask(taskName, 
  // execute stored procedure
  // update user interface
          monitor.done();
          return Status.OK_STATUS;
      }
  };
  
  execStoredProcJob.schedule();
  </code></pre>
  
  <p>When I close eclipse app while the Job still running it seems to kill the Job. How to complete the job after user has closed eclipse app? Is it possible?</p>