Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
bd5f992a
Commit
bd5f992a
authored
Mar 10, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时test
parent
7f85d3ba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
29 deletions
+1
-29
SrvTaskScheduledController.java
...ltc/governance/controller/SrvTaskScheduledController.java
+1
-1
ScheduledTask.java
...c/main/java/com/hungraim/ltc/component/ScheduledTask.java
+0
-28
No files found.
governance/src/main/java/com/hungraim/ltc/governance/controller/SrvTaskScheduledController.java
View file @
bd5f992a
...
...
@@ -21,7 +21,7 @@ public class SrvTaskScheduledController {
@Autowired
private
SrvTaskService
srvTaskService
;
@Scheduled
(
cron
=
"0
10 11
* * ?"
)
@Scheduled
(
cron
=
"0
30 03
* * ?"
)
public
void
timeAllocationSrvTask
()
{
log
.
info
(
"timeAllocationSrvTask========start"
);
srvTaskService
.
timeAllocationSrvTask
();
...
...
system/system-admin-service/src/main/java/com/hungraim/ltc/component/ScheduledTask.java
deleted
100644 → 0
View file @
7f85d3ba
package
com
.
hungraim
.
ltc
.
component
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
/**
* @author zwl
* @ClassName ScheduledTask
* @description
* @date 2023/3/10 10:49
**/
@Component
@Slf4j
public
class
ScheduledTask
{
@Scheduled
(
cron
=
"0 05 11 * * ?"
)
public
void
ScheduledTaskSystem
()
{
log
.
info
(
"ScheduledTaskSystem========start==========="
);
}
@Scheduled
(
cron
=
"0 * /1 * * * ?"
)
public
void
test111
()
{
log
.
info
(
"test111==============================================="
);
}
}
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