Commit bc78aeb2 authored by 黄奎's avatar 黄奎

定时任务修改

parent e41baf5f
...@@ -139,7 +139,7 @@ namespace Edu.WebApi.Timers ...@@ -139,7 +139,7 @@ namespace Edu.WebApi.Timers
marketTimer = new System.Timers.Timer() marketTimer = new System.Timers.Timer()
{ {
Interval = (1000 * 60) * (1) //10分钟执行一次 Interval = (1000 * 60) * (10) //10分钟执行一次
}; };
marketTimer.Elapsed += new System.Timers.ElapsedEventHandler(DealMarketConsultantData); marketTimer.Elapsed += new System.Timers.ElapsedEventHandler(DealMarketConsultantData);
marketTimer.Enabled = true; marketTimer.Enabled = true;
......
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