Ver código fonte

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

xueli.xue 9 anos atrás
pai
commit
99cc66cb02

+ 1 - 0
README.md Ver arquivo

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

+ 4 - 0
xxl-job-admin/src/main/webapp/static/js/joblog.index.1.js Ver arquivo

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

+ 4 - 0
xxl-job-client-demo/src/main/java/com/xxl/job/service/handler/DemoJobHandler.java Ver arquivo

@@ -24,7 +24,11 @@ public class DemoJobHandler extends IJobHandler {
24 24
 	@Override
25 25
 	public JobHandleStatus handle(String... params) throws Exception {
26 26
 		logger.info(" ... params:" + params);
27
+<<<<<<< HEAD
27 28
 		for (int i = 0; i < 60; i++) {
29
+=======
30
+		for (int i = 0; i < 10; i++) {
31
+>>>>>>> branch 'master' of https://github.com/xuxueli/xxl-job.git
28 32
 			TimeUnit.SECONDS.sleep(1);
29 33
 			logger.info("handler run:{}", i);
30 34
 		}