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

98 lines
2.9 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>JobWLXXSave_D6</name>
<group>JobWLXXSave_D6</group>
<description>查询并保存需读取的提单号</description>
<job-type>JobPingTaiWork.JobWLXXSave_D6,JobPingTaiWork</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!-- custname custpsw TimeType -->
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=172.31.85.154,1433;Initial Catalog=cangdandata;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*</value>
</entry>
<!--起始天数-->
<entry>
<key>StartDays</key>
<value>1</value>
</entry>
<!--终止天数-->
<entry>
<key>EndDays</key>
<value>0</value>
</entry>
<!--时间类型:录入日期 开船日期 -->
<entry>
<key>TimeType</key>
<value>录入日期</value>
</entry>
</job-data-map>
</job>
<trigger>
<cron>
<name>TriggerJobWLXXSave_D6</name>
<group>JobWLXXSave_D6</group>
<description>查询并保存需读取的提单号</description>
<job-name>JobWLXXSave_D6</job-name>
<job-group>JobWLXXSave_D6</job-group>
<cron-expression>0 5/30 * * * ? </cron-expression>
</cron>
</trigger>
<job>
<name>JobWLXXGet_D6</name>
<group>JobWLXXGet_D6</group>
<description>从青岛港物流信息网读取数据,写入D6数据库</description>
<job-type>JobPingTaiWork.JobWLXXGet_D6,JobPingTaiWork</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=172.31.85.154,1433;Initial Catalog=cangdandata;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*</value>
</entry>
<!--请求url-->
<entry>
<key>ReqUrl</key>
<value>
http://47.104.90.170:5000/query
</value>
</entry>
<!--请求超时(单位:秒)-->
<entry>
<key>RequestTimeout</key>
<value>120</value>
</entry>
</job-data-map>
</job>
<trigger>
<cron>
<name>TriggerJobWLXXGet_D6</name>
<group>JobWLXXGet_D6</group>
<description>从青岛港物流信息网读取数据</description>
<job-name>JobWLXXGet_D6</job-name>
<job-group>JobWLXXGet_D6</job-group>
<cron-expression>0/15 * 0,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 * * ? *</cron-expression>
</cron>
</trigger>
</schedule>
</job-scheduling-data>