@Scheduled KPI execution
Implement a method in KPIServiceImpl that executes all existing Executions once every day at 03:00 using @Scheduled
.
Details
Production servers run in a cluster and this method must only execute on one node every day. Use https://github.com/lukas-krecan/ShedLock with a Hazelcast lock.