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
b6dc9ff4
Commit
b6dc9ff4
authored
Jun 07, 2021
by
lzxry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时流量任务
parent
d852444c
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 @
b6dc9ff4
...
@@ -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
(
"2021-05-25"
,
"2021-0
5-25
"
);
List
<
String
>
dateInterval
=
DateUtil
.
getDateInterval
(
"2021-05-25"
,
"2021-0
6-06
"
);
for
(
String
yesterday
:
dateInterval
)
{
for
(
String
yesterday
:
dateInterval
)
{
logger
.
info
(
"昨日流量同步:"
+
yesterday
);
logger
.
info
(
"昨日流量同步:"
+
yesterday
);
for
(
String
email
:
emails
)
{
for
(
String
email
:
emails
)
{
...
...
src/main/resources/spring/applicationContext-schedule.xml
View file @
b6dc9ff4
...
@@ -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 40 1
1 27 5
? "
/>
<task:scheduled
ref=
"syncTrackingFlowTask"
method=
"reset"
cron=
"0 40 1
2 7 6
? "
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
<bean
id=
"syncCalculationFlowTask"
class=
"track.task.TrackingFlowTask"
></bean>
<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