Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-task-scheduler
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf2e9b11
authored
Sep 13, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改定时任务
1 parent
6275b43e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/cn/com/glsx/schedulerjob/task/taskscheduler/DeviceFreqDailySchedulerJob.java
src/main/java/cn/com/glsx/schedulerjob/task/taskscheduler/DeviceFreqSchedulerJob.java
src/main/java/cn/com/glsx/schedulerjob/task/taskscheduler/DeviceFreqDailySchedulerJob.java
View file @
cf2e9b1
...
@@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
...
@@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
*/
*/
@Slf4j
@Slf4j
@Component
@Component
@ElasticSimpleJob
(
jobName
=
"DeviceFreqSchedulerJob"
,
cron
=
"30 30 23 * * ? *"
)
@ElasticSimpleJob
(
jobName
=
"DeviceFreq
Daily
SchedulerJob"
,
cron
=
"30 30 23 * * ? *"
)
public
class
DeviceFreqDailySchedulerJob
implements
SimpleJob
{
public
class
DeviceFreqDailySchedulerJob
implements
SimpleJob
{
@Autowired
@Autowired
...
...
src/main/java/cn/com/glsx/schedulerjob/task/taskscheduler/DeviceFreqSchedulerJob.java
View file @
cf2e9b1
...
@@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
...
@@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
*/
*/
@Slf4j
@Slf4j
@Component
@Component
@ElasticSimpleJob
(
jobName
=
"DeviceFreqSchedulerJob"
,
cron
=
"
* 0
* * * ? *"
)
@ElasticSimpleJob
(
jobName
=
"DeviceFreqSchedulerJob"
,
cron
=
"
0 *
* * * ? *"
)
public
class
DeviceFreqSchedulerJob
implements
SimpleJob
{
public
class
DeviceFreqSchedulerJob
implements
SimpleJob
{
@Autowired
@Autowired
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment