Authored by mingdan.ge

测试

... ... @@ -30,8 +30,8 @@ public class CpsOrdersSumMessageTask {
private static String TASK_KEY = "yh:union:share:CpsOrdersSumMessageTask:";
// @Scheduled(cron = "0 0/5 * * * ?")
@Scheduled(cron = "0 0 10 * * ?")
@Scheduled(cron = "0 0/5 * * * ?")
// @Scheduled(cron = "0 0 10 * * ?")
public void run() {
//绑定已处理状态
CpsMessageTaskBo bo = new CpsMessageTaskBo();
... ...
... ... @@ -30,7 +30,8 @@ public class CpsSettlementMessageTask {
private static String SETTLEMENT_TASK_KEY = "yh:union:share:CpsSettlementMessageTask:";
@Scheduled(cron = "0 0 10 20,28 * ?")
@Scheduled(cron = "0 2/5 * * * ?")
// @Scheduled(cron = "0 0 10 20,28 * ?")
public void run(){
//竞争任务处理者
CpsMessageTaskBo bo = new CpsMessageTaskBo();
... ...