吴五万
robs

导航

 

xml 配置

<?xml version="1.0" encoding="UTF-8"?>
<job-scheduling-data xmlns="http://quartznet.sourceforge.net/JobSchedulingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0">

    <processing-directives>
        <overwrite-existing-data>true</overwrite-existing-data>
    </processing-directives>

    <schedule> 
        <job>
            <name>Job2</name>
            <group>Group2</group>
            <description>Job2 Description</description>
            <durable>true</durable>
            <recover>false</recover>
            <job-data-map>
                <entry>
                    <key>MyKey2</key>
                    <value>MyValue2</value>
                </entry>
            </job-data-map>
        </job>

        <trigger>
            <cron>
                <name>Trigger2</name>
                <group>Group2</group>
                <description>Trigger2 Description</description>
                <job-name>Job2</job-name>
                <job-group>Group2</job-group>
                <misfire-instruction>DoNothing</misfire-instruction>
                <cron-expression>0/2 * * * * ?</cron-expression>
            </cron>
        </trigger>

    </schedule>
</job-scheduling-data>

  

 

posted on 2023-03-14 17:11  吴五万  阅读(22)  评论(0编辑  收藏  举报