Commit bc880a41 by 泽锋 李

fix

parent 149daccd
...@@ -17,9 +17,18 @@ namespace ResetOutofstock ...@@ -17,9 +17,18 @@ namespace ResetOutofstock
Task.Factory.StartNew(() => Task.Factory.StartNew(() =>
{ {
Console.WriteLine($"init 开始 ,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); try
daily.ResetFbaExtendSales(DateTime.Now); {
Console.WriteLine($"init 结束,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Console.WriteLine($"init 开始 ,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
daily.ResetFbaExtendSales(DateTime.Now);
Console.WriteLine($"init 结束,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
Console.WriteLine(ex.StackTrace);
}
}); });
......
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