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

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