Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
X
XXL-JOB
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
靳帅
XXL-JOB
Commits
740b2d02
提交
740b2d02
authored
12月 01, 2015
作者:
xueli.xue
浏览文件
操作
浏览文件
下载
差异文件
init
上级
51259d8c
9f3dd8b3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
11 行增加
和
10 行删除
+11
-10
index.ftl
xxl-job-admin/src/main/webapp/WEB-INF/template/job/index.ftl
+2
-7
job.index.1.js
xxl-job-admin/src/main/webapp/static/js/job.index.1.js
+6
-0
JunitTest.java
xxl-job-admin/src/test/java/quartz/JunitTest.java
+3
-3
没有找到文件。
xxl-job-admin/src/main/webapp/WEB-INF/template/job/index.ftl
浏览文件 @
740b2d02
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"box-header"
><h3
class=
"box-title"
>
任务列表
</h3></div>
<div
class=
"box-header"
><h3
class=
"box-title"
>
任务列表
</h3></div>
<div
class=
"box-body"
>
<div
class=
"box-body"
>
<table
id=
"
example1
"
class=
"table table-bordered table-striped"
>
<table
id=
"
job_list
"
class=
"table table-bordered table-striped"
>
<thead>
<thead>
<tr>
<tr>
<th>
任务ID
</th>
<th>
任务ID
</th>
...
@@ -82,11 +82,6 @@
...
@@ -82,11 +82,6 @@
<!-- DataTables -->
<!-- DataTables -->
<script
src=
"${request.contextPath}/static/adminlte/plugins/datatables/jquery.dataTables.min.js"
></script>
<script
src=
"${request.contextPath}/static/adminlte/plugins/datatables/jquery.dataTables.min.js"
></script>
<script
src=
"${request.contextPath}/static/adminlte/plugins/datatables/dataTables.bootstrap.min.js"
></script>
<script
src=
"${request.contextPath}/static/adminlte/plugins/datatables/dataTables.bootstrap.min.js"
></script>
<!-- page script -->
<script
src=
"${request.contextPath}/static/js/job.index.1.js"
></script>
<script>
$
(
function
()
{
$
(
"#example1"
).
DataTable
();
});
</script>
</body>
</body>
</html>
</html>
xxl-job-admin/src/main/webapp/static/js/job.index.1.js
0 → 100644
浏览文件 @
740b2d02
$
(
function
(){
$
(
function
()
{
$
(
"#job_list"
).
DataTable
();
});
});
\ No newline at end of file
xxl-job-admin/src/test/java/quartz/JunitTest.java
浏览文件 @
740b2d02
...
@@ -2,12 +2,12 @@ package quartz;
...
@@ -2,12 +2,12 @@ package quartz;
import
java.lang.reflect.InvocationTargetException
;
import
java.lang.reflect.InvocationTargetException
;
import
java.util.Set
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.junit.runner.RunWith
;
import
org.quartz.JobKey
;
import
org.quartz.SchedulerException
;
import
org.quartz.SchedulerException
;
import
org.springframework.test.context.ContextConfiguration
;
import
org.springframework.test.context.ContextConfiguration
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
...
@@ -21,7 +21,7 @@ public class JunitTest {
...
@@ -21,7 +21,7 @@ public class JunitTest {
@Test
@Test
public
void
getJobKeys
()
throws
SchedulerException
,
IllegalAccessException
,
InvocationTargetException
,
NoSuchMethodException
,
InterruptedException
{
public
void
getJobKeys
()
throws
SchedulerException
,
IllegalAccessException
,
InvocationTargetException
,
NoSuchMethodException
,
InterruptedException
{
Set
<
JobKey
>
list
=
DynamicSchedulerUtil
.
getJobKeys
();
List
<
Map
<
String
,
Object
>>
list
=
DynamicSchedulerUtil
.
getJobList
();
System
.
out
.
println
(
list
);
System
.
out
.
println
(
list
);
TimeUnit
.
SECONDS
.
sleep
(
30
);
TimeUnit
.
SECONDS
.
sleep
(
30
);
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论