quartz_jobs.xml
<?xml version="1.0" encoding="UTF-8"?>
<quartz xmlns="http://www.opensymphony.com/quartz/JobSchedulingData"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opensymphony.com/quartz/JobSchedulingData
http://www.opensymphony.com/quartz/JobSchedulingData ">
<job>
<job-detail>
<name>scanDirectory</name>
<group>DEFAULT</group>
<description>此作业的功能是去扫描指定目录下的xml文件,输出所有xml文件的相关信息.</description>
<job-class>com.cavaness.quartzbook.chapter3.ScanDirectoryJob</job-class>
<volatility>false</volatility>
<durability>false</durability>
<recover>false</recover>
<job-data-map allows-transient-data="true">
<entry>
<key>SCAN_DIRECTORY</k