@@ -119,9 +119,9 @@ public class AdminCheckQuartz {
}).start();
}
/**
- * 订单数据定时轮训处理 每3小时执行一次
+ * 订单数据定时轮训处理 每30分钟执行一次
*/
-// @Scheduled(cron = "0 0 0 1/1 * ? ")
+ @Scheduled(cron = "0 0/30 * * * ? ")
public void task2(){
new Thread(new Runnable() {
@Override
@@ -79,7 +79,7 @@ public class MyApplicationLisenter implements ApplicationListener<ContextRefresh
public void run() {
- doSomething2();
+// doSomething2();