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.
DS7/JobSendAgentMail/quartz_jobs.xml

80 lines
2.4 KiB
XML

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