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.
149 lines
4.5 KiB
XML
149 lines
4.5 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>JobGetMhData</name>
|
|
<group>Job</group>
|
|
<description>获取MH数据</description>
|
|
<job-type>JobCreateFee.JobGetMhData,JobAutoCreateFee</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
<job-data-map>
|
|
<!--连接字符串-->
|
|
<entry>
|
|
<key>ConnectString</key>
|
|
<value>Data Source=.;Initial Catalog=dongshengdata_jf;Persist Security Info=True;User ID=sa;Password=ds20040201</value>
|
|
</entry>
|
|
<!--Mh连接字符串-->
|
|
<entry>
|
|
<key>MhConnectString</key>
|
|
<value>Data Source=223.223.95.154;Initial Catalog=MagicHand80_Agent;Persist Security Info=True;User ID=mhuser;Password=mhuser</value>
|
|
</entry>
|
|
<!--查询SQL-->
|
|
<entry>
|
|
<key>D6QuerySql</key>
|
|
<value>
|
|
select 编号,主提单号,'主单' BSTYPE from t_op_seae where 1=2
|
|
union
|
|
select AS_ID 编号,主提单号,'分单' BSTYPE from t_op_seae_assistant where 1=2
|
|
</value>
|
|
</entry>
|
|
</job-data-map>
|
|
</job>
|
|
|
|
|
|
<trigger>
|
|
<cron>
|
|
<name>TriggerGetMhData</name>
|
|
<group>Job</group>
|
|
<description>获取MH数据触发器</description>
|
|
<job-name>JobGetMhData</job-name>
|
|
<job-group>Job</job-group>
|
|
<cron-expression>0 0/2 * * * ? </cron-expression>
|
|
</cron>
|
|
</trigger>
|
|
|
|
<!--订阅下载Msc SWB任务-->
|
|
<job>
|
|
<name>JobSendMscSwbData</name>
|
|
<group>Job</group>
|
|
<description>订阅MSC SWB数据</description>
|
|
<job-type>JobCreateFee.JobSendMscSwbData,JobAutoCreateFee</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
<job-data-map>
|
|
<!--连接字符串-->
|
|
<entry>
|
|
<key>ConnectString</key>
|
|
<value>Data Source=.;Initial Catalog=dongshengdata_jf;Persist Security Info=True;User ID=sa;Password=ds20040201</value>
|
|
</entry>
|
|
<entry>
|
|
<key>ReqUrl</key>
|
|
<value>http://123.234.225.158:30100/msc_tasks/</value>
|
|
</entry>
|
|
<!--查询SQL-->
|
|
<entry>
|
|
<key>QuerySql</key>
|
|
<value>
|
|
select 主提单号 mbn from t_op_seae WHERE 开船日期=GETDATE()-1
|
|
</value>
|
|
</entry>
|
|
<!--请求超时(单位:秒)-->
|
|
<entry>
|
|
<key>RequestTimeout</key>
|
|
<value>30</value>
|
|
</entry>
|
|
</job-data-map>
|
|
</job>
|
|
|
|
|
|
<trigger>
|
|
<cron>
|
|
<name>TriggerSendMscSwbData</name>
|
|
<group>Job</group>
|
|
<description>订阅MSC SWB触发器</description>
|
|
<job-name>JobSendMscSwbData</job-name>
|
|
<job-group>Job</job-group>
|
|
<cron-expression>0 0/2 * * * ? </cron-expression>
|
|
</cron>
|
|
</trigger>
|
|
|
|
<!--订阅下载Msc SWB任务-->
|
|
<job>
|
|
<name>JobGetMscSwbData</name>
|
|
<group>Job</group>
|
|
<description>下载MSC SWB数据</description>
|
|
<job-type>JobCreateFee.JobGetMscSwbData,JobAutoCreateFee</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
<job-data-map>
|
|
<!--连接字符串-->
|
|
<entry>
|
|
<key>ConnectString</key>
|
|
<value>Data Source=.;Initial Catalog=dongshengdata_jf;Persist Security Info=True;User ID=sa;Password=ds20040201</value>
|
|
</entry>
|
|
<entry>
|
|
<key>ReqUrl</key>
|
|
<value>http://123.234.225.158:30100/msc_tasks/</value>
|
|
</entry>
|
|
<!--查询SQL-->
|
|
<entry>
|
|
<key>QuerySql</key>
|
|
<value>
|
|
select 主提单号 mbn from t_op_seae WHERE 开船日期=GETDATE()-1
|
|
</value>
|
|
</entry>
|
|
<!--请求超时(单位:秒)-->
|
|
<entry>
|
|
<key>RequestTimeout</key>
|
|
<value>30</value>
|
|
</entry>
|
|
<!--临时文件夹-->
|
|
<entry>
|
|
<key>TempPath</key>
|
|
<value>D:\TEMPPATH</value>
|
|
</entry>
|
|
</job-data-map>
|
|
</job>
|
|
|
|
|
|
<trigger>
|
|
<cron>
|
|
<name>TriggerGetMscSwbData</name>
|
|
<group>Job</group>
|
|
<description>下载MSC SWB触发器</description>
|
|
<job-name>JobGetMscSwbData</job-name>
|
|
<job-group>Job</job-group>
|
|
<cron-expression>0 0/2 * * * ? </cron-expression>
|
|
</cron>
|
|
</trigger>
|
|
|
|
|
|
|
|
</schedule>
|
|
</job-scheduling-data> |