Android JobScheduler Won't Stop With JobFinished(params, False)
Answer : You have specified that a job is run periodically (every 60 seconds), so every 60~ seconds a new job is created and executed. jobFinished() is specific to a job, and simply indicates that it is done executing. You haven't cancelled anything. Your (currently) accepted answer works for cancelling your scheduled job, but if all you want is a job that executes within 60 seconds and then stops, you should ommit setPeriodic() and use setOverrideDeadline(60000) instead. The job will run within 60 seconds and no more will be scheduled after it. Well I figured it out if anyone else has this problem. jobFinished() won't stop the periodic time you set from continuing. It just tells the job that you are finished, to release the wakelock, so Android doesn't have to kill the job off forcefully. What I had to do was recreate the jobScheduler in my service and call cancelAll(). You could also apparently call cancel(job_id). jobScheduler = (JobScheduler)this.ge...