...
|
...
|
@@ -10,26 +10,14 @@ |
|
|
http://vm.yoho.com/schema/kisjob/job/job.xsd
|
|
|
">
|
|
|
|
|
|
<context:component-scan base-package="com.yoho.kisjob" />
|
|
|
<context:component-scan base-package="com.yoho.kisjob.demo" />
|
|
|
|
|
|
<job:define id="jobDemo1" job-type="clusterJob" job-ref="testBaseJob">
|
|
|
<job:timer job-run-type="realtime" />
|
|
|
</job:define>
|
|
|
|
|
|
<job:define id="jobDemo2" job-type="singleJob" job-ref="testBaseJob">
|
|
|
<job:timer job-run-type="onetime" run-time="2018-01-01 00:00:00" />
|
|
|
</job:define>
|
|
|
|
|
|
<job:define id="jobDemo11" job-type="clusterJob" job-ref="testBaseJob">
|
|
|
<job:timer job-run-type="cron" cron="0 * * * * ?" />
|
|
|
</job:define>
|
|
|
|
|
|
<job:define id="jobDemo12" job-type="singleJob" job-ref="testBaseJob">
|
|
|
<job:define id="jobDemo1" job-type="singleJob" job-ref="testBaseJob">
|
|
|
<job:timer job-run-type="cron" cron="20 * * * * ?" />
|
|
|
</job:define>
|
|
|
|
|
|
<job:define id="jobDemo13" job-type="elastaicJob"
|
|
|
mapper-ref="testMapper" executor-ref="testExecutor">
|
|
|
<job:define id="jobDemo2" job-type="elastaicJob" mapper-ref="testMapper"
|
|
|
executor-ref="testExecutor">
|
|
|
<job:param name="param1" value="value1" />
|
|
|
<job:param name="param2" value="value2" />
|
|
|
<job:timer job-run-type="cron" cron="40 * * * * ?" />
|
...
|
...
|
|