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
740b2d02
authored
Dec 01, 2015
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Plain Diff
init
parents
51259d8c
9f3dd8b3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
xxl-job-admin/src/main/webapp/WEB-INF/template/job/index.ftl
xxl-job-admin/src/main/webapp/static/js/job.index.1.js
xxl-job-admin/src/test/java/quartz/JunitTest.java
xxl-job-admin/src/main/webapp/WEB-INF/template/job/index.ftl
View file @
740b2d02
...
...
@@ -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>
xxl-job-admin/src/main/webapp/static/js/job.index.1.js
0 → 100644
View file @
740b2d02
$
(
function
(){
$
(
function
()
{
$
(
"#job_list"
).
DataTable
();
});
});
\ No newline at end of file
xxl-job-admin/src/test/java/quartz/JunitTest.java
View file @
740b2d02
...
...
@@ -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
);
}
...
...
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