Commit 931626e5 by lizefeng

调整任务启动时间为早上8点

parent b2482f81
......@@ -24,7 +24,7 @@ namespace AutoGeneratePurchaseAdvise
{
var now = DateTime.Now;
// 判断是不是指定的时间
if (now.Hour == 5 && now.Minute == 1)
if (now.Hour == 8 && now.Minute == 1)
{
Console.WriteLine($"开始采购平均值统计任务,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
PurchaseAdviseServices.Generate();
......
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