Commit 632b2d01 by 翁国栋

8小时运营后台--

每日4点扫描
parent d6a41d78
...@@ -46,7 +46,7 @@ public class CrmRuleTaskTiming { ...@@ -46,7 +46,7 @@ public class CrmRuleTaskTiming {
private CrmRemindRuleMapper crmRemindRuleMapper; private CrmRemindRuleMapper crmRemindRuleMapper;
//提醒时间到了 //提醒时间到了
@Scheduled(cron = "0/1 * * * * ?") // 每小时扫描 @Scheduled(cron = "0 0 4 * * ?") // 每日4点扫描
@Transactional @Transactional
public void getTimeRules() { public void getTimeRules() {
String today=DateUtil.today(); String today=DateUtil.today();
......
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