Commit 56b1d6be by 泽锋 李

fix

parent a1075d57
......@@ -30,6 +30,12 @@ namespace ResetOutofstock
report.StockWeekBackUp();
Console.WriteLine($"结束 备份上周库存,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
}
if (now.Hour == 0 && now.Minute == 11)
{
Console.WriteLine($"开始 备份上周采购库存,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
report.PurchaseWeekBackUp();
Console.WriteLine($"结束 备份上周采购库存,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
}
}
}
......
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