1、支持在线查看,执行器详细日志;

2、支持远程任务执行终止;
master
xueli.xue 9 years ago
commit 99cc66cb02
  1. 1
      README.md
  2. 4
      xxl-job-admin/src/main/webapp/static/js/joblog.index.1.js
  3. 4
      xxl-job-client-demo/src/main/java/com/xxl/job/service/handler/DemoJobHandler.java

@ -18,6 +18,7 @@ git.osc地址:http://git.oschina.net/xuxueli0323/xxl-job
8、支持自定义参数;
9、支持任务失败次数超阈值邮件报警;
10、支持在线查看,执行器详细日志;
11、支持远程任务执行终止;
# 新版本 V1.2.x,新特性
1、支持任务分组;

@ -196,7 +196,11 @@ $(function() {
ComConfirm.show("确认主动终止任务?", function(){
$.ajax({
type : 'POST',
<<<<<<< HEAD
url : base_url + 'joblog/logKill',
=======
url : base_url + 'joblog/ferrariJobKill',
>>>>>>> branch 'master' of https://github.com/xuxueli/xxl-job.git
data : {"id":_id},
dataType : "json",
success : function(data){

@ -24,7 +24,11 @@ public class DemoJobHandler extends IJobHandler {
@Override
public JobHandleStatus handle(String... params) throws Exception {
logger.info(" ... params:" + params);
<<<<<<< HEAD
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);
logger.info("handler run:{}", i);
}

Loading…
Cancel
Save