Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-service
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Xu
2017-04-03 21:41:22 +0800
Commit
bfd54182b49800bc3f5205fd4cae2cab5b77f327
1 parent
d09ba2b9
定时job
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
monitor-service-other/src/main/java/com/monitor/other/maliciousip/job/MaliciousIpJob.java
monitor-service-other/src/main/java/com/monitor/other/maliciousip/job/MaliciousIpJob.java
View file @
bfd5418
...
...
@@ -58,7 +58,7 @@ public class MaliciousIpJob {
uploadMaliciousIp
();
}
};
//0:代表是延迟0
timer
.
scheduleAtFixedRate
(
timerTask
,
0
,
1
*
30
);
timer
.
scheduleAtFixedRate
(
timerTask
,
0
,
1
*
30
*
1000
);
}
private
void
uploadMaliciousIp
(){
...
...
Please
register
or
login
to post a comment