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/JobScheduler/bin/Release/quartz_jobs.xml

103 lines
4.0 KiB
XML

3 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>
2 years ago
<!--订阅数据任务-->
3 years ago
<job>
2 years ago
<name>JobSendBooking</name>
<group>Job</group>
<description>订阅数据</description>
<job-type>JobSendAgentMail.JobSendBooking,JobSendAgentMail</job-type>
3 years ago
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
2 years ago
<value>Data Source=www.perways.net,18866;Initial Catalog=ShippingWeb_SZYT;Persist Security Info=True;User ID=sa;Password=Ds20040201</value>
3 years ago
</entry>
2 years ago
<!--查询SQL-->
3 years ago
<entry>
2 years ago
<key>QuerySql</key>
<value>
select BSNO,MBLNO,ORDERNO,OPERATORFAX AS BLREMARK,AGENTID,BLFRT,PORTLOAD,PORTDISCHARGE,DESTINATION,CONVERT(varchar(100), ETD, 23) AS ETD,ATD,HBLNO,CONVERT(varchar(100), ETA, 23) ETA,CNTRTOTAL,(
SELECT CODENAME FROM info_client WHERE SHORTNAME=OP_SEAE.CARRIER) CARRIERID,(CASE WHEN ISSUETYPE='电放' then 'Telex release'else case when ISSUETYPE='正本' then 'Original Bill' else case when ISSUETYPE='SWB' then 'Seaway Bill' else case when issuetype='云提单'then'INTELLIGENT BL'else '' end end end end) ISSUETYPE,(SELECT TOP 1 USERNAME FROM [user] where SHOWNAME=op_seae.OP) OPNAME,(SELECT TOP 1 email1 FROM [VW_user] where SHOWNAME=op_seae.OP) OPEMAIL, (((SELECT TOP 1 EMAIL FROM info_client where SHORTNAME=op_seae.AGENTID ))+';'+( SELECT TOP 1 email1 FROM [VW_userquan] where SHOWNAME=op_seae.SALE )) AGENTEMAIL from op_seae WHERE custno like 'CXE22050397'
</value>
3 years ago
</entry>
<entry>
2 years ago
<key>HblQuerySql</key>
<value>
select HBLNO,(CASE WHEN ISSUETYPE='电放' then 'Telex release'else
case when ISSUETYPE='正本' then 'Original Bill' else case when ISSUETYPE='SWB' then 'Seaway Bill' else case when issuetype='云提单'then'INTELLIGENT BL'else '' end end end end ) ISSUETYPE
from op_seae_billmanage
</value>
3 years ago
</entry>
2 years ago
<!--单据类型-->
3 years ago
<entry>
2 years ago
<key>DocType</key>
<value>PA</value>
3 years ago
</entry>
2 years ago
<!--DS7绝对路径-->
3 years ago
<entry>
2 years ago
<key>D7FilePath</key>
<value>D:\东胜\DONGSHENGWEB\</value>
3 years ago
</entry>
2 years ago
<!--DS7邮箱发送账号-->
3 years ago
<entry>
2 years ago
<key>MAILSENDACCOUNT</key>
<value>szytcus@perways.com</value>
3 years ago
</entry>
2 years ago
<!--DS7邮箱发送密码-->
3 years ago
<entry>
2 years ago
<key>MAILSENDPASSWORD</key>
<value>PER202100558YT12</value>
3 years ago
</entry>
2 years ago
<!--DS7邮箱发送账号-->
<entry>
<key>MAILSENDSERVICE</key>
<value>smtp.263.net</value>
</entry>
<!--DS7邮箱发送账号-->
<entry>
<key>MAILSENDPORT</key>
<value>25</value>
</entry>
<!--DS7邮箱发送账号-->
<entry>
<key>MAILISSSL</key>
<value>false</value>
</entry>
<entry>
<key>MAILTEMPLATE</key>
<value>MailTemplate.html</value>
</entry>
3 years ago
</job-data-map>
</job>
2 years ago
<!-- 发送请求数据任务触发器-->
<trigger>
3 years ago
<cron>
2 years ago
<name>TriggerBooking</name>
<group>Job</group>
<description>订阅数据触发器</description>
<job-name>JobSendBooking</job-name>
<job-group>Job</job-group>
<cron-expression>0 34 14 * * ?</cron-expression>
3 years ago
</cron>
</trigger>
2 years ago
<!--<trigger>
<simple>
<name>TriggerBooking</name>
<group>Job</group>
<description>订阅数据触发器</description>
<job-name>JobSendBooking</job-name>
<job-group>Job</job-group>
<cron-expression>0 5,10 9 * * ?</cron-expression>
</simple>
</trigger>-->
3 years ago
</schedule>
</job-scheduling-data>