Commit 08012f74 authored by 罗林杰's avatar 罗林杰

修改定时任务缓存

parent f3f15971
......@@ -82,7 +82,7 @@ public class ScheduleTasks {
/**
* 退款确认补救
*/
@Scheduled(cron = "0 * * * * ?")
@Scheduled(cron = "0 0/30 * * * ?")
public void executeRefundConfirmOrder() throws IOException, JDOMException {
orderService.executeRefundConfirmOrder();
}
......@@ -90,7 +90,7 @@ public class ScheduleTasks {
/**
* 订单缓存清除
*/
@Scheduled(cron = "0 * * * * ?")
@Scheduled(cron = "0 0 1 * * ?")
public void executeDeleteOrder() {
orderService.executeDeleteOrder();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment