<?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>smsJob</name>
<group>smsGroup</group>
<description>SMS发短信任务</description>
<job-type>G2.Services.SendSMS, G2.Services.SendSMS</job-type>
<durable>true</durable>
<recover>false</recover>
</job>
<trigger>
<cron>
<name>smsTrigger</name>
<group>smsTriggerGroup</group>
<job-name>smsJob</job-name>
<job-group>smsGroup</job-group>
<start-time>2014-10-22T00:00:00+08:00</start-time><!-- 去掉这句就不会启动程序就执行,而是到点再执行-->
<cron-expression>0 45 9 * * ?</cron-expression><!-- 每天09:45分执行-->
</cron>
</trigger>
</schedule>
</job-scheduling-data>