我有石英工作 Quartz UpdateContentMetaData.class,我有石英 2.x 工作 xml:
<?xml version='1.0' encoding='utf-8'?>
<job-scheduling-data version="2.0"
xmlns="http://www.quartz-scheduler.org/xml/JobSchedulingData"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.quartz-scheduler.org/xml/JobSchedulingData
http://www.quartz-scheduler.org/xml/job_scheduling_data_2_0.xsd">
<schedule>
<job>
<name>UpdateContentJob</name>
<job-class>ru.icb.cms.schedule.job.UpdateContentMetaData</job-class>
<job-data-map>
<entry>
<key>provider</key>
<value>2</value>
</entry>
</job-data-map>
</job>
<trigger>
<simple>
<name>minute_job</name>
<group>DEFAULT</group>
<job-name>minute_job</job-name>
<job-group>DEFAULT</job-group>
<repeat-count>-1</repeat-count>
<repeat-interval>60000</repeat-interval>
</simple>
</trigger>
</schedule>
</job-scheduling-data>
如何在没有触发器的情况下创建 xml 作业?