title: Job Scheduler not Working after killing my app in android?
body: <p>I have used a timer to call a method at 5 seconds interval inside a job scheduler. But the job scheduler only running on app running stage,if i kill the app the job scheduler was not worked. How to run the job scheduler to work after i killing my app?</p>
  
  <p>My Code is:</p>
  
  <pre><code>package com.deemsysinc.firebaseandroid;
  
  import android.app.job.JobParameters;
  import android.app.job.JobService;
  import android.os.PersistableBundle;
  import android.util.Log;
  
  import java.util.Timer;
  import java.util.TimerTask;
  
  public class MyJobService extends JobService {
      private static final String TAG=MyJobService.class.getSimpleName();
      Timer timer;
      TimerTask timerTask;
      @Override
      public boolean onStartJob(JobParameters jobParameters) {
          final PersistableBundle persistableBundle=jobParameters.getExtras();
          timer=new Timer();
          timerTask=new TimerTask() {
              @Override
              public void run() {
                  MethodCalling();
                  Log.d("TheJobStart",persistableBundle.getString("Title"));
              }
          };
          timer.schedule(timerTask,0,15000);
          jobFinished(jobParameters,false);
          return true;
      }
  
      @Override
      public boolean onStopJob(JobParameters jobParameters) {
          Log.d("TheJobStart","JobCompleted");
          return true;
      }
  }
  </code></pre>