cronScheduleSpec = scheduleSpec;
} else {
cronScheduleSpec = schedProperties.getProperty(scheduleSpec);
if (StringUtils.isEmpty(cronScheduleSpec)) {
throw new SchedulerConfigurationException(
"Found empty or missing cron definition for named schedule '"
+ scheduleSpec + "'. Should be specified in the file "
+ SCHEDULE_PROPERTIES_PATH + " on the classpath.");
}
}