Commit 07fc6c5a authored by narinder Rana's avatar narinder Rana
Browse files

continue whit old code for schedule scanner job

parent 9c43a9d8
Pipeline #128433 passed with stage
in 3 minutes and 15 seconds
......@@ -37,7 +37,7 @@ public abstract class JobUtils {
ComponentName jobService = new ComponentName( context, ScannerJob.class );
JobInfo job = new JobInfo.Builder(ScannerJobId, jobService )
.setPeriodic(7200000 , 30000) //31git minutes and 30 secondes
.setPeriodic(7200000 , 30000) //2 hr
.setPersisted(true)
.setRequiredNetworkType( JobInfo.NETWORK_TYPE_ANY )
.build();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment