Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
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
reyun
manager
Commits
c661c801
Commit
c661c801
authored
Jan 11, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时任务
parent
3119ff4e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
workspace.xml
.idea/workspace.xml
+0
-0
applicationContext-schedule.xml
src/main/resources/spring/applicationContext-schedule.xml
+6
-6
No files found.
.idea/workspace.xml
View file @
c661c801
This diff is collapsed.
Click to expand it.
src/main/resources/spring/applicationContext-schedule.xml
View file @
c661c801
...
@@ -12,17 +12,17 @@
...
@@ -12,17 +12,17 @@
<bean
id=
"tkioAccountTask"
class=
"tkio.task.AccountTask"
></bean>
<bean
id=
"tkioAccountTask"
class=
"tkio.task.AccountTask"
></bean>
<task:scheduled-tasks>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"tkioAccountTask"
method=
"task"
cron=
"0
38 2
* * ?"
/>
<task:scheduled
ref=
"tkioAccountTask"
method=
"task"
cron=
"0
10 0
* * ?"
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
<bean
id=
"tkioNoticeTask"
class=
"tkio.task.NoticeTask"
></bean>
<bean
id=
"tkioNoticeTask"
class=
"tkio.task.NoticeTask"
></bean>
<task:scheduled-tasks>
<task:scheduled-tasks>
<task:scheduled
ref=
"tkioNoticeTask"
method=
"task"
cron=
"0 33
8
* * ?"
/>
<task:scheduled
ref=
"tkioNoticeTask"
method=
"task"
cron=
"0 33
0
* * ?"
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
<bean
id=
"emailTask"
class=
"tkio.task.SendEmailTask"
></bean>
<bean
id=
"emailTask"
class=
"tkio.task.SendEmailTask"
></bean>
<task:scheduled-tasks>
<task:scheduled-tasks>
<task:scheduled
ref=
"emailTask"
method=
"task"
cron=
"0 20
8
* * ?"
/>
<task:scheduled
ref=
"emailTask"
method=
"task"
cron=
"0 20
0
* * ?"
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
<bean
id=
"trackAccountTask"
class=
"track.task.AccountTask"
></bean>
<bean
id=
"trackAccountTask"
class=
"track.task.AccountTask"
></bean>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<task:scheduled-tasks>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"trackAccountTask"
method=
"task"
cron=
"0 32
2
* * ?"
/>
<task:scheduled
ref=
"trackAccountTask"
method=
"task"
cron=
"0 32
0
* * ?"
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
<bean
id=
"SyncAppDataTask"
class=
"common.task.SyncAppDataTask"
></bean>
<bean
id=
"SyncAppDataTask"
class=
"common.task.SyncAppDataTask"
></bean>
...
@@ -38,8 +38,8 @@
...
@@ -38,8 +38,8 @@
<task:scheduled-tasks>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppInfo"
cron=
"0 31
8
* * ?"
/>
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppInfo"
cron=
"0 31
0
* * ?"
/>
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppDeviceNum"
cron=
"0 11
8
* * ?"
/>
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppDeviceNum"
cron=
"0 11
0
* * ?"
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
...
...
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