How to run Periodically Work request in android with Work Manager : <p>I have implement following code in my application, but not executing on specific time. I want to run a task on every 1 minute interval while app is in Background.   </p>

<pre><code>    WorkManager workManager = WorkManager.getInstance();
    List&lt;WorkStatus&gt; value = workManager.getStatusesByTag(CALL_INFO_WORKER).getValue();
    if (value == null) {

       PeriodicWorkRequest callDataRequest1 = new PeriodicWorkRequest.Builder(CallInfoWorker.class,10,TimeUnit.SECONDS,3, TimeUnit.SECONDS).build();
        workManager.enqueue(callDataRequest1);
    }
</code></pre>
