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.

80 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>JobSendBooking</name>
<group>Job</group>
<description>订阅数据</description>
<job-type>JobSendAgentMail.JobSendCtn,JobSendAgentMail</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=119.167.78.10,1433;Initial Catalog=DATA;Persist Security Info=True;User ID=sa;Password=yongfa_123</value>
</entry>
<!--查询SQL-->
<entry>
<key>QuerySql</key>
<value>
SELECT 箱号 FROM [dbo].[t_op_ctn_detail] where isnull(是否还箱,0)=0 and (GETDATE()-动态时间)>180
</value>
</entry>
<!--DS7邮箱发送账号-->
<entry>
<key>MAILSENDACCOUNT</key>
<value>han_xuntao@163.com</value>
</entry>
<!--DS7邮箱发送密码-->
<entry>
<key>MAILSENDPASSWORD</key>
<value>ds20040201</value>
</entry>
<!--DS7邮箱发送账号-->
<entry>
<key>MAILSENDSERVICE</key>
<value>smtp.163.com</value>
</entry>
<!--DS7邮箱发送账号-->
<entry>
<key>MAILSENDPORT</key>
<value>25</value>
</entry>
<!--DS7邮箱发送账号-->
<entry>
<key>MAILISSSL</key>
<value>false</value>
</entry>
<entry>
<key>MAILRECEIVER</key>
<value>e.control@win-fast.com.cn,e.control2@win-fast.com.cn</value>
</entry>
<entry>
<key>MAILTITLE</key>
<value>集装箱超期提醒</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>
<cron-expression>0 55 14 * * ?</cron-expression>
</cron>
</trigger>
</schedule>
</job-scheduling-data>