Commit 492577bc by lzxry

跑流量

parent acefdf53
......@@ -386,7 +386,7 @@ public class TrackingFlowTask {
List<TkioFlow> tkioFlowList = new ArrayList<>();
//String yesterday = DateUtil.getBeforeDays(1);//昨日
List<String> dateInterval = DateUtil.getDateInterval("2021-05-19", "2021-05-19");
List<String> dateInterval = DateUtil.getDateInterval("2021-05-25", "2021-05-25");
for (String yesterday : dateInterval) {
logger.info("昨日流量同步:" + yesterday);
for (String email : emails) {
......
......@@ -70,7 +70,7 @@
</task:scheduled-tasks>
<!--临时跑一段时间内的流量任务-->
<task:scheduled-tasks>
<task:scheduled ref="syncTrackingFlowTask" method="reset" cron="0 40 11 21 5 ? "/>
<task:scheduled ref="syncTrackingFlowTask" method="reset" cron="0 40 11 27 5 ? "/>
</task:scheduled-tasks>
<bean id="syncCalculationFlowTask" class="track.task.TrackingFlowTask"></bean>
......
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