Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
ops
Commits
b85b09c8
Commit
b85b09c8
authored
Jul 03, 2025
by
wujipeng
Browse files
增加月初运维
parent
6fb95cc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/sms/task/InTheEarlyTask.java
View file @
b85b09c8
...
...
@@ -54,7 +54,7 @@ public class InTheEarlyTask {
smsInformService
.
save
(
SmsInformEntity
.
builder
()
.
date
(
new
Date
())
.
name
(
scheduleEntity
.
getName
())
.
num
(
0
)
.
num
(
1
)
.
phone
(
scheduleEntity
.
getPhone
())
.
serviceName
(
"月初通知"
)
.
build
());
...
...
src/main/java/com/ruzhoukj/sms/task/SmsTask.java
View file @
b85b09c8
...
...
@@ -27,8 +27,8 @@ public class SmsTask {
/**
* 每十五分钟执行一次
*/
//
@Scheduled(cron = "0 */15 * * * ?")
@Scheduled
(
fixedRate
=
10000
)
@Scheduled
(
cron
=
"0 */15 * * * ?"
)
//
@Scheduled(fixedRate = 10000)
public
void
projectRemind
()
{
//查询最新的一条数据
SmsInformEntity
smsInformEntity
=
smsInformService
...
...
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