diff --git a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt index c520c212cb70..9fadd964db8f 100644 --- a/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt +++ b/app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt @@ -663,7 +663,9 @@ internal class BackgroundJobManagerImpl( jobClass = InternalTwoWaySyncWork::class, jobName = JOB_INTERNAL_TWO_WAY_SYNC, intervalMins = intervalMinutes - ).build() + ) + .setInitialDelay(intervalMinutes, TimeUnit.MINUTES) + .build() workManager.enqueueUniquePeriodicWork(JOB_INTERNAL_TWO_WAY_SYNC, ExistingPeriodicWorkPolicy.UPDATE, request) }