public static CronScheduleBuilder dailyAtHourAndMinute(int hour,int minute){
  DateBuilder.validateHour(hour);
  DateBuilder.validateMinute(minute);
  String cronExpression=String.format("0 %d %d ? * *",minute,hour);
  return cronScheduleNoParseException(cronExpression);
}

public static CronScheduleBuilder dailyAtHourAndMinute ( int hour , int minute ) { DateBuilder . validateHour ( hour ) ; DateBuilder . validateMinute ( minute ) ; String cronExpression = String . format ( "0 %d %d ? * *" , minute , hour ) ; return cronScheduleNoParseException ( cronExpression ) ; }
create a cronschedulebuilder with a cron - expression that sets the schedule to fire every day at the given time ( hour and minute ) .
