Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
hel-guide
hel-developer-guide
Commits
e1013d30
Commit
e1013d30
authored
Jul 31, 2017
by
ashely-wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 框架功能描述/计划任务.md
Auto commit by GitBook Editor
parent
8e327ace
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
job_create.png
assets/job_create.png
+0
-0
job_create2.png
assets/job_create2.png
+0
-0
计划任务.md
框架功能描述/计划任务.md
+6
-7
No files found.
assets/job_create.png
0 → 100644
View file @
e1013d30
12 KB
assets/job_create2.png
0 → 100644
View file @
e1013d30
16.9 KB
框架功能描述/计划任务.md
View file @
e1013d30
...
...
@@ -89,13 +89,13 @@ public class demoJob extends AbstractJob{
1.
点击左上角的新建任务按钮,可以进入以下界面创建一个新的任务:
![](
/assets/
new_job
.png
)
![](
/assets/
job_create
.png
)
此处任务名称必须唯一,在lov中选择对应的任务代码。
2.
下拉滚动条,可以看到如下所示的界面:
![](
/assets/job_
type
.png
)
![](
/assets/job_
create2
.png
)
周期性:表示一个cron任务,可以在计划名称的lov中选定自己定义的一个周期,然后计划任务可以根据任务周期定义功能中的执行频率,以及执行的开始和结束时间,进行执行。
...
...
@@ -113,7 +113,7 @@ public class demoJob extends AbstractJob{
3.
在开发环境中,在config.properties中调度器自动启动的状态应该默认设置为false,在正式环境中应该设置为true(设置为true,表示调度器随着服务器启动而启动):
![](
/assets/job_conf.png
)
在开发环境中,由于隐藏了调度的启动和关闭按钮,所以如果想打开调度器,必须要手动输入url:/job/scheduler/start,否则你的计划任务将不会执行。
...
...
@@ -121,7 +121,7 @@ public class demoJob extends AbstractJob{
1.
任务执行时,状态不同,颜色也不同:
![](
/assets/job_status.pn
g
)
![](
file:///D:\timData\1019378615\Image\C2C\{FC29BA75-59C8-CB55-E439-151526AB4ABE}.jp
g
)
状态说明:
...
...
@@ -137,14 +137,13 @@ public class demoJob extends AbstractJob{
2.
想要修改任务的状态,或者删除任务,可以勾选对应的计划任务进行操作:
![](
/assets/change_job_type.pn
g
)
![](
file:///D:\timData\1019378615\Image\C2C\{09394160-638D-5487-0937-FEB541C8A9AF}.jp
g
)
### 4、执行记录
#### 4.1 查看任务的执行记录
![](
/assets/jobinfo.png
)
![](
file:///D:\timData\1019378615\Image\C2C\{79F5FF88-62D4-E326-A72A-701A95F713E1}.jpg
)
参数说明:
...
...
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