Commit 0ec69b21 by guanzhenshan

调整每日销进比的重跑频率

parent 8de07f58
......@@ -32,7 +32,7 @@ namespace Bailun.DC.SkuDailyPurchaseAndSales
Init(DateTime.Parse(now.AddDays(-1).ToShortDateString()), DateTime.Parse(now.ToShortDateString()));
Console.WriteLine("计算结束 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
}
else if (now.Hour % 4 == 0 && now.Minute == 3)
else if (now.Hour % 8 == 0 && now.Minute == 3)
{
var start = DateTime.Parse(now.AddMonths(-1).ToString("yyyy-MM-dd"));
while (start.AddDays(2) < 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