Context:
In the course of https://github.com/camunda/camunda-optimize/pull/1122 the scheduling code was duplicated into the userSync service. We should extract this into a component to be reused by both services for better reuse, we could even unit test that component.
AT:
- shared scheduling logic is extracted from OptimizeCleanupScheduler and SyncedIdentityCacheService service
already done with
OPT-3011