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
Plain Diff
Browse Files
Authored by
FengRuwei
2016-07-01 17:48:23 +0800
Commit
863cd577b0837f2d202cbab9c508c49007938cbb
2 parents
0bd668cc
bcc0f239
Merge branch 'master' of
http://git.yoho.cn/ops/monitor-service
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
monitor-service-middleware/src/main/java/com/monitor/middleware/nginx/task/NginxCalTask.java
monitor-service-middleware/src/main/java/com/monitor/middleware/nginx/task/NginxScanTask.java
monitor-service-middleware/src/main/java/com/monitor/middleware/nginx/task/NginxCalTask.java
View file @
863cd57
...
...
@@ -21,7 +21,7 @@ public class NginxCalTask {
@Autowired
InfluxComp
qcInfluxComp
;
@Scheduled
(
cron
=
"0 0/3 * * * ? "
)
@Scheduled
(
fixedRate
=
2
*
60
*
1000L
)
public
void
call
()
{
try
{
...
...
monitor-service-middleware/src/main/java/com/monitor/middleware/nginx/task/NginxScanTask.java
View file @
863cd57
...
...
@@ -29,7 +29,7 @@ public class NginxScanTask {
ITypeInfoService
typeService
;
//自动发现Nginx监控对象
@Scheduled
(
cron
=
"0 0/1 * * * ? "
)
@Scheduled
(
fixedRate
=
60
*
1000L
)
public
void
doTask
()
{
List
<
TypeInfo
>
typeInfosList
=
typeService
.
queryAllTypesInfo
();
...
...
Please
register
or
login
to post a comment