|
@@ -116,9 +116,9 @@ public class AdminCheckQuartz {
|
|
pool.shutdown();
|
|
pool.shutdown();
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
- * 订单数据定时轮训处理 每2小时执行一次
|
|
|
|
|
|
+ * 订单数据定时轮训处理 每小时执行一次
|
|
*/
|
|
*/
|
|
- @Scheduled(cron = "0 30 0/2 * * ? ")
|
|
|
|
|
|
+ @Scheduled(cron = "0 30 7-20 * * ? ")
|
|
public void task2(){
|
|
public void task2(){
|
|
ThreadPool threadPool = new ThreadPool(2);
|
|
ThreadPool threadPool = new ThreadPool(2);
|
|
pool.execute(threadPool);
|
|
pool.execute(threadPool);
|