default Optional<Execution> getExecution(TaskInstanceId taskInstance) {
    return getExecution(taskInstance.getTaskName(), taskInstance.getId());
  }
Prefer ScheduledTaskInstance which has a fixed execution-time
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/TaskRepository.java