Commit 6fd0c9c7 by guanzhenshan

设置更新服务每6小时更新一遍

parent 27efc824
......@@ -37,7 +37,7 @@ namespace Bailun.DC.MonthSaleProfit
Console.WriteLine("任务运行完成 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
}
else if (now.Minute == 59)
else if (now.Minute == 59 && now.Hour%6==0)
{
Console.WriteLine("开始启动更新服务" + DateTime.Now);
Update(DateTime.Now);
......
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