Browse Source

修改服务增加自动运行连接考勤机

大厂分支
liangkun 4 years ago
parent
commit
87cd3b69d8
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.JobService/App.config
  2. +2
    -0
      Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.JobService/Service1.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.JobService/App.config View File

@@ -5,7 +5,7 @@
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<connectionStrings>
<add name="ConnectionPfcMisDBString" connectionString="server=server=123.57.209.16;database=CollegeMIS_西昌;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=bjqjkj@2014~2015!;" providerName="System.Data.SqlClient" />
<add name="ConnectionPfcMisDBString" connectionString="server=123.57.209.16;database=CollegeMIS_西昌;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=bjqjkj@2014~2015!;" providerName="System.Data.SqlClient" />
<add name="ConnectionPfcMisDBString2" connectionString="server=192.168.100.225;database=CollegeMIS_金隅;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=Jykj@2019;" providerName="System.Data.SqlClient" />
<add name="CoreDBString" connectionString="server=123.57.209.16;database=adms7ultimate2_西昌;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=bjqjkj@2014~2015!;" providerName="System.Data.SqlClient" />
<add name="CoreDBString2" connectionString="server=192.168.100.225;database=adms7ultimate2_金隅;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=Jykj@2019;" providerName="System.Data.SqlClient" />


+ 2
- 0
Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.JobService/Service1.cs View File

@@ -20,6 +20,8 @@ namespace Quanjiang.DigitalScholl.JobService
ServerName = "QuanjiangDigitalSchollJobService"
};
_server = new BackgroundJobServer(options);
//自动运行连接考勤机
RecurringJob.Trigger("HKAttendance");
}

protected override void OnStop()


Loading…
Cancel
Save