Commit 4e50b0b0 by guanzhenshan

更改启动频率,改为5分钟一次

parent 3402df89
...@@ -28,7 +28,7 @@ namespace Bailun.DC.SyncLogisticInfo ...@@ -28,7 +28,7 @@ namespace Bailun.DC.SyncLogisticInfo
{ {
var now = DateTime.Now; var now = DateTime.Now;
if (now.Minute%10==0 && !isRuning) //每30分钟同步一次 if (now.Minute%5==0 && !isRuning) //每5分钟同步一次
{ {
Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
Init(); Init();
......
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