public RecurringTask<T> execute(VoidExecutionHandler<T> executionHandler) {
      return new RecurringTask<>(
          name,
          schedule,
          dataClass,
          scheduleOnStartup,
          onFailure,
          onDeadExecution,
          defaultPriority) {

        @Override
        public void executeRecurringly(
            TaskInstance<T> taskInstance, ExecutionContext executionContext) {
          executionHandler.execute(taskInstance, executionContext);
        }
      };
    }
Disable 'scheduleOnStartup' to get control over when and show the executions is scheduled.
Schedules will not be updated etc, so not really recommended.
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/task/helper/Tasks.java