Commit 02e4edbc by guanzhenshan

增加时间日志

parent 305efb2c
......@@ -26,12 +26,12 @@ namespace Bailun.DC.SkuDailyPurchaseAndSales
try
{
var now = DateTime.Now;
Console.WriteLine("开始计算服务 " + now.ToString("yyyy-MM-dd HH:mm:ss"));
if (now.Hour == 23 && now.Minute == 59)
{
Init(DateTime.Parse(now.ToShortDateString()),now);
}
Console.WriteLine("计算结束 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
}
catch (Exception ex)
{
......
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