Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
manager
Commits
acefdf53
Commit
acefdf53
authored
4 years ago
by
lzxry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跑19号的tkio流量
parent
efdfeca5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TrackingFlowTask.java
src/main/java/track/task/TrackingFlowTask.java
+1
-1
applicationContext-schedule.xml
src/main/resources/spring/applicationContext-schedule.xml
+1
-1
No files found.
src/main/java/track/task/TrackingFlowTask.java
View file @
acefdf53
...
@@ -386,7 +386,7 @@ public class TrackingFlowTask {
...
@@ -386,7 +386,7 @@ public class TrackingFlowTask {
List
<
TkioFlow
>
tkioFlowList
=
new
ArrayList
<>();
List
<
TkioFlow
>
tkioFlowList
=
new
ArrayList
<>();
//String yesterday = DateUtil.getBeforeDays(1);//昨日
//String yesterday = DateUtil.getBeforeDays(1);//昨日
List
<
String
>
dateInterval
=
DateUtil
.
getDateInterval
(
"202
0-12-01"
,
"2021-05-18
"
);
List
<
String
>
dateInterval
=
DateUtil
.
getDateInterval
(
"202
1-05-19"
,
"2021-05-19
"
);
for
(
String
yesterday
:
dateInterval
)
{
for
(
String
yesterday
:
dateInterval
)
{
logger
.
info
(
"昨日流量同步:"
+
yesterday
);
logger
.
info
(
"昨日流量同步:"
+
yesterday
);
for
(
String
email
:
emails
)
{
for
(
String
email
:
emails
)
{
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/spring/applicationContext-schedule.xml
View file @
acefdf53
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</task:scheduled-tasks>
</task:scheduled-tasks>
<!--临时跑一段时间内的流量任务-->
<!--临时跑一段时间内的流量任务-->
<task:scheduled-tasks>
<task:scheduled-tasks>
<task:scheduled
ref=
"syncTrackingFlowTask"
method=
"reset"
cron=
"0 4
5 14 19
5 ? "
/>
<task:scheduled
ref=
"syncTrackingFlowTask"
method=
"reset"
cron=
"0 4
0 11 21
5 ? "
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
<bean
id=
"syncCalculationFlowTask"
class=
"track.task.TrackingFlowTask"
></bean>
<bean
id=
"syncCalculationFlowTask"
class=
"track.task.TrackingFlowTask"
></bean>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment