Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
monitor-reprotdata-frogovernment
Project
Project
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
耿迪迪
monitor-reprotdata-frogovernment
Commits
4cfada5b
Commit
4cfada5b
authored
Aug 17, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监控配置修改
parent
c47b1657
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SaticScheduleTask.java
...torreprotdatafrogovernmentnew/task/SaticScheduleTask.java
+1
-1
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/com/zehong/monitorreprotdatafrogovernmentnew/task/SaticScheduleTask.java
View file @
4cfada5b
...
...
@@ -52,7 +52,7 @@ public class SaticScheduleTask {
private
void
compareReportDate
(
Date
reportDate
,
String
company
){
long
period
=
System
.
currentTimeMillis
()
-
reportDate
.
getTime
();
//超过五分钟未发送数据发送短信报警
if
(
5
<
period
/(
60
*
1000
)){
if
(
1
5
<
period
/(
60
*
1000
)){
//如未及时处理没半小时发送一次短信
if
(!
dynamicTask
.
isExist
(
company
)){
//发送短信
...
...
src/main/resources/application.yml
View file @
4cfada5b
...
...
@@ -28,6 +28,6 @@ sendSmsUrl: http://36.148.23.59:8801/sms/sendBatchSms
#通知号码
secretKey
:
f225e66813e6d6a663daf919c1935dcb
phoneNums
:
13930125936,13315145077
phoneNums
:
13930125936,13315145077
,18032932808
signName
:
泽宏云
templateCode
:
SMS_221736528
\ No newline at end of file
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