code: @Override
      protected void onRefresh() {
          val sch =
              (ScheduledAnnotationBeanPostProcessor) getBeanFactory()
                  .getBean(TaskManagementConfigUtils.SCHEDULED_ANNOTATION_PROCESSOR_BEAN_NAME, BeanPostProcessor.class);
          sch.setEmbeddedValueResolver(new CasEmbeddedValueResolver(this));
          super.onRefresh();
      }
docs: {@inheritDoc}
  Reset the value resolver on the inner {@link ScheduledAnnotationBeanPostProcessor}
  so that we can parse durations. This is due to how {@link org.springframework.scheduling.annotation.SchedulingConfiguration}
  creates the processor and does not provide a way for one to inject a value resolver.