Commit 5f41fbd6 by guanzhenshan

调整重跑时间

parent a7a55777
......@@ -34,7 +34,7 @@ namespace Bailun.DC.SkuDailyPurchaseAndSales
}
else if (now.Hour % 4 == 0 && now.Minute == 3)
{
var start = DateTime.Parse(now.AddDays(-1).ToString("yyyy-MM-dd"));
var start = DateTime.Parse(now.AddMonths(-1).ToString("yyyy-MM-dd"));
while (start.AddDays(2) < DateTime.Now)
{
Console.WriteLine("重跑历史数据 "+start.ToString("yyyy-MM-dd"));
......
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