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

56 lines
1.7 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>订阅数据</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>TriggerBooking</name>
<group>Job</group>
<description>订阅数据触发器</description>
<job-name>JobGetMhData</job-name>
<job-group>Job</job-group>
<cron-expression>0 0/2 * * * ? </cron-expression>
</cron>
</trigger>
</schedule>
</job-scheduling-data>