Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
63edb6d8
authored
Jun 08, 2016
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
系统Cron文案订正
parent
168050dc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
db/tables_xxl_job.sql
xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
db/tables_xxl_job.sql
View file @
63edb6d8
...
...
@@ -147,7 +147,7 @@ CREATE TABLE `xxl_job_qrtz_trigger_info` (
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`job_group`
varchar
(
255
)
NOT
NULL
COMMENT
'任务组'
,
`job_name`
varchar
(
255
)
NOT
NULL
COMMENT
'任务名'
,
`job_cron`
varchar
(
128
)
NOT
NULL
COMMENT
'任务执行C
OR
N'
,
`job_cron`
varchar
(
128
)
NOT
NULL
COMMENT
'任务执行C
RO
N'
,
`job_desc`
varchar
(
255
)
NOT
NULL
,
`job_class`
varchar
(
255
)
NOT
NULL
COMMENT
'任务执行JobBean'
,
`add_time`
datetime
DEFAULT
NULL
,
...
...
@@ -168,7 +168,7 @@ CREATE TABLE `xxl_job_qrtz_trigger_log` (
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`job_group`
varchar
(
255
)
NOT
NULL
COMMENT
'任务组'
,
`job_name`
varchar
(
255
)
NOT
NULL
COMMENT
'任务名'
,
`job_cron`
varchar
(
128
)
NOT
NULL
COMMENT
'任务执行C
OR
N表达式'
,
`job_cron`
varchar
(
128
)
NOT
NULL
COMMENT
'任务执行C
RO
N表达式'
,
`job_desc`
varchar
(
255
)
NOT
NULL
,
`job_class`
varchar
(
255
)
NOT
NULL
COMMENT
'任务执行JobBean'
,
`executor_address`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'执行器地址,本次执行的地址'
,
...
...
xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java
View file @
63edb6d8
...
...
@@ -70,7 +70,7 @@ public class XxlJobServiceImpl implements IXxlJobService {
return
new
ReturnT
<
String
>(
500
,
"请输入“任务名”"
);
}
if
(!
CronExpression
.
isValidExpression
(
jobCron
))
{
return
new
ReturnT
<
String
>(
500
,
"请输入格式正确的“
cor
n”"
);
return
new
ReturnT
<
String
>(
500
,
"请输入格式正确的“
Cro
n”"
);
}
if
(
StringUtils
.
isBlank
(
jobDesc
))
{
return
new
ReturnT
<
String
>(
500
,
"请输入“任务描述”"
);
...
...
@@ -146,7 +146,7 @@ public class XxlJobServiceImpl implements IXxlJobService {
return
new
ReturnT
<
String
>(
500
,
"请输入“任务名”"
);
}
if
(!
CronExpression
.
isValidExpression
(
jobCron
))
{
return
new
ReturnT
<
String
>(
500
,
"请输入格式正确的“
cor
n”"
);
return
new
ReturnT
<
String
>(
500
,
"请输入格式正确的“
Cro
n”"
);
}
if
(
StringUtils
.
isBlank
(
jobDesc
))
{
return
new
ReturnT
<
String
>(
500
,
"请输入“任务描述”"
);
...
...
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
View file @
63edb6d8
...
...
@@ -121,8 +121,8 @@
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobName"
placeholder=
"请输入“任务名”"
minlength=
"4"
maxlength=
"100"
></div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
C
or
n
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobCron"
placeholder=
"请输入“C
or
n”"
maxlength=
"100"
></div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
C
ro
n
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobCron"
placeholder=
"请输入“C
ro
n”"
maxlength=
"100"
></div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
描述
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobDesc"
placeholder=
"请输入“描述”"
maxlength=
"200"
></div>
</div>
...
...
@@ -201,8 +201,8 @@ public class DemoJobHandler extends IJobHandler {
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobName"
placeholder=
"请输入“任务名”"
minlength=
"4"
maxlength=
"100"
readonly
></div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
C
or
n
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobCron"
placeholder=
"请输入“C
or
n”"
maxlength=
"100"
></div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
C
ro
n
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobCron"
placeholder=
"请输入“C
ro
n”"
maxlength=
"100"
></div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
描述
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"jobDesc"
placeholder=
"请输入“描述”"
maxlength=
"200"
></div>
</div>
...
...
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
View file @
63edb6d8
...
...
@@ -253,8 +253,8 @@ $(function() {
maxlength
:
"“任务名”长度不应超过100位"
},
jobCron
:
{
required
:
"请输入“C
or
n”."
,
maxlength
:
"“C
or
n”长度不应超过100位"
required
:
"请输入“C
ro
n”."
,
maxlength
:
"“C
ro
n”长度不应超过100位"
},
jobDesc
:
{
required
:
"请输入“任务描述”."
,
...
...
@@ -405,8 +405,8 @@ $(function() {
},
messages
:
{
jobCron
:
{
required
:
"请输入“C
or
n”."
,
maxlength
:
"“C
or
n”长度不应超过100位"
required
:
"请输入“C
ro
n”."
,
maxlength
:
"“C
ro
n”长度不应超过100位"
},
jobDesc
:
{
required
:
"请输入“任务描述”."
,
...
...
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