public static JobDefinition retryableCronJobDefinition(final String jobType,final String jobName,final String description,final String cron,final int restarts,final int retries,final Duration retryDelay,final Optional<Duration> maxAge){
  return new DefaultJobDefinition(jobType,jobName,description,maxAge,Optional.empty(),Optional.of(cron),restarts,retries,Optional.of(retryDelay));
}

public static JobDefinition retryableCronJobDefinition ( final String jobType , final String jobName , final String description , final String cron , final int restarts , final int retries , final Duration retryDelay , final Optional < Duration > maxAge ) { return new DefaultJobDefinition ( jobType , jobName , description , maxAge , Optional . empty ( ) , Optional . of ( cron ) , restarts , retries , Optional . of ( retryDelay ) ) ; }
create a jobdefinition that is using a cron expression to specify , when and how often the job should be triggered .
