You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.4 KiB
XML
83 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<job-scheduling-data xmlns="http://quartznet.sourceforge.net/JobSchedulingData">
|
|
<processing-directives>
|
|
<overwrite-existing-data>true</overwrite-existing-data>
|
|
</processing-directives>
|
|
<schedule>
|
|
|
|
<!--订阅数据任务-->
|
|
<job>
|
|
<name>JobSendMail</name>
|
|
<group>Job</group>
|
|
<description>订阅数据</description>
|
|
<job-type>JobSendMail.JobSendMail,JobSendMail</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
<job-data-map>
|
|
<!--连接字符串-->
|
|
<entry>
|
|
<key>ConnectString</key>
|
|
<value>Data Source=.;Initial Catalog=shippingweb_qj;Persist Security Info=True;User ID=sa;Password=ds20040201</value>
|
|
</entry>
|
|
<!--查询SQL-->
|
|
<entry>
|
|
<key>QuerySql</key>
|
|
<value>
|
|
select * from op_mail_send WHERE TRYCOUNT<3 and SENDSTATUS NOT IN ('Success','Send')
|
|
</value>
|
|
</entry>
|
|
|
|
<!--邮箱发送账号-->
|
|
<entry>
|
|
<key>MAILSENDACCOUNT</key>
|
|
<value>han_xuntao@126.com</value>
|
|
</entry>
|
|
<!--邮箱发送密码-->
|
|
<entry>
|
|
<key>MAILSENDPASSWORD</key>
|
|
<value>sunshine12</value>
|
|
</entry>
|
|
<!--邮箱服务器-->
|
|
<entry>
|
|
<key>MAILSENDSERVICE</key>
|
|
<value>smtp.126.com</value>
|
|
</entry>
|
|
<!--邮箱发送端口号-->
|
|
<entry>
|
|
<key>MAILSENDPORT</key>
|
|
<value>25</value>
|
|
</entry>
|
|
<!--邮箱是否SSL-->
|
|
<entry>
|
|
<key>MAILISSSL</key>
|
|
<value>false</value>
|
|
</entry>
|
|
|
|
</job-data-map>
|
|
</job>
|
|
|
|
<!-- 发送请求数据任务触发器-->
|
|
<trigger>
|
|
<cron>
|
|
<name>TriggerBooking</name>
|
|
<group>Job</group>
|
|
<description>订阅数据触发器</description>
|
|
<job-name>JobSendBooking</job-name>
|
|
<job-group>Job</job-group>
|
|
<repeat-count>-1</repeat-count>
|
|
<repeat-interval>10000</repeat-interval>
|
|
</cron>
|
|
</trigger>
|
|
<!--<trigger>
|
|
<simple>
|
|
<name>TriggerBooking</name>
|
|
<group>Job</group>
|
|
<description>订阅数据触发器</description>
|
|
<job-name>JobSendBooking</job-name>
|
|
<job-group>Job</job-group>
|
|
<cron-expression>0 * * * * ? *</cron-expression>
|
|
</simple>
|
|
</trigger>-->
|
|
|
|
</schedule>
|
|
</job-scheduling-data> |