@@ -20,6 +20,7 @@ http://www.springframework.org/schema/task/spring-task.xsd
<!-- 自动扫描dao和service包(自动注入) -->
<context:component-scan base-package="cn.com.qmth.stmms.biz"/>
+ <context:component-scan base-package="cn.com.qmth.stmms.admin.thread"/>
<import resource="spring-jpa.xml"/>
@@ -90,7 +90,7 @@ public class ScoreReportJob {
/**
* 定时更新成绩分析报告
*/
- @Scheduled(cron = "${0 0/30 8-22 * * ?}")
+ @Scheduled(cron = "0 0/40 8-22 * * ?")
public void updateReport() {
log.info("start auto-update report");
try {