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
c2a85dbc
Commit
c2a85dbc
authored
Jun 10, 2025
by
wujipeng
Browse files
优化
parent
41998311
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/sms/entity/EmailRecordEntity.java
View file @
c2a85dbc
...
...
@@ -25,7 +25,7 @@ import java.util.Date;
@Builder
public
class
EmailRecordEntity
{
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_ID
)
private
String
id
;
private
String
name
;
private
String
email
;
...
...
src/main/java/com/ruzhoukj/sms/task/OpsTask.java
View file @
c2a85dbc
...
...
@@ -41,7 +41,8 @@ public class OpsTask {
private
EmailRecordService
emailRecordService
;
//每个月一号执行一次,本月要到期的证书
@Scheduled
(
cron
=
"0 0 10 1 * ?"
)
// @Scheduled(cron = "0 0 10 1 * ?")
@Scheduled
(
cron
=
"0/10 * * * * ?"
)
@Transactional
public
void
slow
()
{
//查询有没有本月要到期的ssl证书
...
...
@@ -79,6 +80,7 @@ public class OpsTask {
//每天执行一次,七天内要到期的证书
@Scheduled
(
cron
=
"0 0 10 * * ?"
)
// @Scheduled(cron = "0/10 * * * * ?")
@Transactional
public
void
fast
()
{
//查询有没有本月要到期的ssl证书
...
...
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