title: JobScheduler execute one time only
body: <p>I'm need execute service every time (1 minute). My JobScheduler execute a single time and don't execute anymore.</p>
  
  <p>What's problem ?</p>
  
  <p>JobNewClientsService is declarated on Manifest and I call this class in my MainActivity.</p>
  
  <pre><code>public class JobNewClientsService extends JobService {
  private final String JOB_NAME = "Job_Service";
  private Context mContext;
  private AsyncOrderNewCommand asyncOrderNewCommand;
  
  @Override
  public boolean onStartJob(final JobParameters params) {
      Log.d(JOB_NAME, "StartJob");
      mContext = this;
      getNewCarts(params);
      return true;
  }
  
  @Override
  public boolean onStopJob(final JobParameters params) {
      if (asyncOrderNewCommand != null) {
          asyncOrderNewCommand.cancel(true);
      }
      Log.d(JOB_NAME, "JobStop");
      return false;
  }
  
  public void showNotification() {
      Log.d(JOB_NAME, "Notification");
  }
  
  public void getNewCarts(final JobParameters params){
      asyncOrderNewCommand = new AsyncOrderNewCommand(new AsyncTaskException.AsyncTaskExceptionListener() {
          @Override
          public void onSuccess(Object result) {
              final List&lt;Cart&gt; cartList = (List&lt;Cart&gt;) result;
              if(cartList!=null &amp;&amp; cartList.size()&gt;0){
                  showNotification();
                  Log.d(JOB_NAME, "JobFinished");
                  jobFinished(params, false);
              }
          }
  
          @Override
          public void onError(ApplicationException exception) {
              Log.d(JOB_NAME, "JobFinished");
              jobFinished(params, false);
          }
      });
      final CartsOrderDirectionCommand cartsOrderDirectionCommand = new CartsOrderDirectionCommand(CartsOrderDirectionCommand.OrderDirection.ASC);
      asyncOrderNewCommand.execute(cartsOrderDirectionCommand);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And Instantiate my job</p>
  
  <pre><code>        JobScheduler jobScheduler =
              (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE);
  
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.N) {
          Log.d("SDK_VERSION","&gt; ANDROID N");
          return jobScheduler.schedule(new JobInfo.Builder(1, new ComponentName(getPackageName(), JobNewClientsService.class.getName()))
                  .setMinimumLatency(time)
                  .setOverrideDeadline((long)(time * 1.05))
                  .setPersisted(true)
                  .build());
      } else {
          Log.d("SDK_VERSION","&lt; ANDROID N");
          return jobScheduler.schedule(new JobInfo.Builder(1, new ComponentName(getPackageName(), JobNewClientsService.class.getName()))
                  .setPeriodic(time)
                  .setOverrideDeadline((long)(time * 1.05))
                  .setPersisted(true)
                  .build());
      }
  </code></pre>