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
492577bc
Commit
492577bc
authored
May 27, 2021
by
lzxry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跑流量
parent
acefdf53
Show 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 @
492577bc
...
...
@@ -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
)
{
...
...
src/main/resources/spring/applicationContext-schedule.xml
View file @
492577bc
...
...
@@ -70,7 +70,7 @@
</task:scheduled-tasks>
<!--临时跑一段时间内的流量任务-->
<task:scheduled-tasks>
<task:scheduled
ref=
"syncTrackingFlowTask"
method=
"reset"
cron=
"0 40 11 2
1
5 ? "
/>
<task:scheduled
ref=
"syncTrackingFlowTask"
method=
"reset"
cron=
"0 40 11 2
7
5 ? "
/>
</task:scheduled-tasks>
<bean
id=
"syncCalculationFlowTask"
class=
"track.task.TrackingFlowTask"
></bean>
...
...
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