Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac_report
Overview
Overview
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
java-sunac-report
sunac_report
Commits
ffdb3181
Commit
ffdb3181
authored
Jul 29, 2019
by
佰邦同创-郝泉明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求更新
parent
8d53f230
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
workspace.xml
.idea/workspace.xml
+0
-0
TimedTask.java
src/main/java/com/ejweb/modules/report/utils/TimedTask.java
+21
-0
No files found.
.idea/workspace.xml
View file @
ffdb3181
This diff is collapsed.
Click to expand it.
src/main/java/com/ejweb/modules/report/utils/TimedTask.java
0 → 100644
View file @
ffdb3181
package
com
.
ejweb
.
modules
.
report
.
utils
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Service
;
/**
* Created by haoqm on 2019/7/18.
*/
@Service
@Lazy
(
false
)
public
class
TimedTask
{
@Scheduled
(
cron
=
"0 0 0 * * ?"
)
//每天晚上12点执行
public
void
job1
()
{
System
.
out
.
println
(
"spring task 注解使用。。。任务进行中(每天下午6点触发)"
);
//获取所有转为线索的举报信息
}
}
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