提交 740b2d02 authored 作者: xueli.xue's avatar xueli.xue

init

......@@ -33,7 +33,7 @@
<div class="box">
<div class="box-header"><h3 class="box-title">任务列表</h3></div>
<div class="box-body">
<table id="example1" class="table table-bordered table-striped">
<table id="job_list" class="table table-bordered table-striped">
<thead>
<tr>
<th>任务ID</th>
......@@ -82,11 +82,6 @@
<!-- DataTables -->
<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>
<!-- page script -->
<script>
$(function () {
$("#example1").DataTable();
});
</script>
<script src="${request.contextPath}/static/js/job.index.1.js"></script>
</body>
</html>
$(function(){
$(function () {
$("#job_list").DataTable();
});
});
\ No newline at end of file
......@@ -2,12 +2,12 @@ package quartz;
import java.lang.reflect.InvocationTargetException;
import java.util.Set;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.quartz.JobKey;
import org.quartz.SchedulerException;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
......@@ -21,7 +21,7 @@ public class JunitTest {
@Test
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);
TimeUnit.SECONDS.sleep(30);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论