public CustomTask<T> execute(ExecutionHandler<T> executionHandler) {
      return new CustomTask<>(
          name,
          dataClass,
          onStartup,
          defaultExecutionTime,
          onFailure,
          onDeadExecution,
          defaultPriority) {
        @Override
        public CompletionHandler<T> execute(
            TaskInstance<T> taskInstance, ExecutionContext executionContext) {
          return 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