log_.info("refreshUIState: updateStatisticsTrigger state was "+triggerState+", enabled now: "+enabled);
} catch (SchedulerException e) {
log_.warn("refreshUIState: Got a SchedulerException while asking for the updateStatisticsTrigger's state", e);
}
}
CronTriggerBean triggerBean = (CronTriggerBean) CoreSpringFactory.getBean("updateStatisticsTrigger");
JobDetail jobDetail = triggerBean.getJobDetail();
enabled &= jobDetail.getName().equals("org.olat.statistics.job.enabled");
log_.info("refreshUIState: org.olat.statistics.job.enabled check, enabled now: "+enabled);
cronExpression = triggerBean.getCronExpression();
StatisticUpdateManager statisticUpdateManager = getStatisticUpdateManager();
if (statisticUpdateManager==null) {
log_.info("refreshUIState: statisticUpdateManager not configured");
enabled = false;
} else {