Implement Task execution with a timespan with Springboot 3, Java 17 I am looking for small design implementation suggestion