Commit 2da263d4 authored by 黄奎's avatar 黄奎

页面修改

parent 7b61c42b
......@@ -41,7 +41,7 @@ namespace EduSpider
if (Interlocked.Exchange(ref inTimer, 1) == 0)
{
VTX.FW.Helper.LogHelper.WriteInfo("RunClassInData", "开始ClassIn数据");
new ClassInFlow().StartAsync();
//new ClassInFlow().StartAsync();
Interlocked.Exchange(ref inTimer, 0);
VTX.FW.Helper.LogHelper.WriteInfo("RunClassInData", "结束ClassIn数据");
}
......
using EduSpider.Spiders.SchoolHouseKeeper;
using System;
using System.ServiceProcess;
using System.Threading;
using TicketSpider.Spiders.ClassInRule;
namespace EduSpider
......@@ -9,12 +10,17 @@ namespace EduSpider
{
static void Main(string[] args)
{
var stopTime = 1000 * 60 * 30;
//30分钟执行一次
while (true)
{
//ClassIn数据
new ClassInFlow().StartAsync();
Thread.Sleep(stopTime);
}
//ClassIn数据
new ClassInFlow().StartAsync();
////校管家数据
//SchoolTaskHelper.RunTask();
// ////校管家数据
// //SchoolTaskHelper.RunTask();
Console.ReadLine();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment