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

195 lines
5.9 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>
<!--订阅数据任务-->
<job>
3 years ago
<name>JobGetMhData</name>
3 years ago
<group>Job</group>
2 years ago
<description>获取MH数据</description>
3 years ago
<job-type>JobCreateFee.JobGetMhData,JobAutoCreateFee</job-type>
3 years ago
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
3 years ago
<value>Data Source=.;Initial Catalog=dongshengdata_jf;Persist Security Info=True;User ID=sa;Password=ds20040201</value>
3 years ago
</entry>
3 years ago
<!--Mh连接字符串-->
3 years ago
<entry>
3 years ago
<key>MhConnectString</key>
<value>Data Source=223.223.95.154;Initial Catalog=MagicHand80_Agent;Persist Security Info=True;User ID=mhuser;Password=mhuser</value>
3 years ago
</entry>
3 years ago
<!--查询SQL-->
3 years ago
<entry>
3 years ago
<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>
3 years ago
</entry>
</job-data-map>
</job>
3 years ago
3 years ago
<trigger>
<cron>
2 years ago
<name>TriggerGetMhData</name>
3 years ago
<group>Job</group>
2 years ago
<description>获取MH数据触发器</description>
3 years ago
<job-name>JobGetMhData</job-name>
3 years ago
<job-group>Job</job-group>
3 years ago
<cron-expression>0 0/2 * * * ? </cron-expression>
3 years ago
</cron>
3 years ago
</trigger>
2 years ago
<!--订阅下载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>
3 years ago
1 year ago
<!--订阅下载亿通提箱小票费任务-->
<job>
<name>JobGetYTFeeData</name>
<group>Job</group>
<description>下载亿通提箱小票费</description>
<job-type>JobCreateFee.JobYtD6Fee,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>YTReqUrl</key>
<value>http://47.104.90.170:9000/easipass/cdbb/fee/</value>
</entry>
<!--亿通用户名-->
<entry>
<key>YTUserName</key>
<value>XXXXXX</value>
</entry>
<!--亿通密码-->
<entry>
<key>YTPassWord</key>
<value>XXXXXX</value>
</entry>
<!--用户名-->
<entry>
<key>CustName</key>
<value>XXXXXX</value>
</entry>
<!--密码-->
<entry>
<key>CustPsw</key>
<value>XXXXXX</value>
</entry>
<!--请求超时(单位:秒)-->
<entry>
<key>RequestTimeout</key>
<value>60</value>
</entry>
3 years ago
1 year ago
</job-data-map>
</job>
3 years ago
</schedule>
</job-scheduling-data>