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
99cc66cb
authored
Mar 12, 2016
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Plain Diff
1、支持在线查看,执行器详细日志;
2、支持远程任务执行终止;
parents
39470eab
3a4df20e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
README.md
xxl-job-admin/src/main/webapp/static/js/joblog.index.1.js
xxl-job-client-demo/src/main/java/com/xxl/job/service/handler/DemoJobHandler.java
README.md
View file @
99cc66cb
...
@@ -18,6 +18,7 @@ git.osc地址:http://git.oschina.net/xuxueli0323/xxl-job
...
@@ -18,6 +18,7 @@ git.osc地址:http://git.oschina.net/xuxueli0323/xxl-job
8、支持自定义参数;
8、支持自定义参数;
9、支持任务失败次数超阈值邮件报警;
9、支持任务失败次数超阈值邮件报警;
10、支持在线查看,执行器详细日志;
10、支持在线查看,执行器详细日志;
11、支持远程任务执行终止;
# 新版本 V1.2.x,新特性
# 新版本 V1.2.x,新特性
1、支持任务分组;
1、支持任务分组;
...
...
xxl-job-admin/src/main/webapp/static/js/joblog.index.1.js
View file @
99cc66cb
...
@@ -196,7 +196,11 @@ $(function() {
...
@@ -196,7 +196,11 @@ $(function() {
ComConfirm
.
show
(
"确认主动终止任务?"
,
function
(){
ComConfirm
.
show
(
"确认主动终止任务?"
,
function
(){
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
<<<<<<<
HEAD
url
:
base_url
+
'joblog/logKill'
,
url
:
base_url
+
'joblog/logKill'
,
=======
url
:
base_url
+
'joblog/ferrariJobKill'
,
>>>>>>>
branch
'master'
of
https
:
//github.com/xuxueli/xxl-job.git
data
:
{
"id"
:
_id
},
data
:
{
"id"
:
_id
},
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
){
success
:
function
(
data
){
...
...
xxl-job-client-demo/src/main/java/com/xxl/job/service/handler/DemoJobHandler.java
View file @
99cc66cb
...
@@ -24,7 +24,11 @@ public class DemoJobHandler extends IJobHandler {
...
@@ -24,7 +24,11 @@ public class DemoJobHandler extends IJobHandler {
@Override
@Override
public
JobHandleStatus
handle
(
String
...
params
)
throws
Exception
{
public
JobHandleStatus
handle
(
String
...
params
)
throws
Exception
{
logger
.
info
(
" ... params:"
+
params
);
logger
.
info
(
" ... params:"
+
params
);
<<<<<<<
HEAD
for
(
int
i
=
0
;
i
<
60
;
i
++)
{
for
(
int
i
=
0
;
i
<
60
;
i
++)
{
=======
for
(
int
i
=
0
;
i
<
10
;
i
++)
{
>>>>>>>
branch
'
master
'
of
https:
//github.com/xuxueli/xxl-job.git
TimeUnit
.
SECONDS
.
sleep
(
1
);
TimeUnit
.
SECONDS
.
sleep
(
1
);
logger
.
info
(
"handler run:{}"
,
i
);
logger
.
info
(
"handler run:{}"
,
i
);
}
}
...
...
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