Commit 62a2ee59 authored by 黄奎's avatar 黄奎

111

parent f6190ba3
...@@ -40,8 +40,8 @@ namespace Edu.WebApi.Timers ...@@ -40,8 +40,8 @@ namespace Edu.WebApi.Timers
{ {
Common.Plugin.LogHelper.Write("定时任务被启动"); Common.Plugin.LogHelper.Write("定时任务被启动");
int Interval = 0; int Interval = 0;
//Interval = 20; Interval = 20;
Interval = 1; //Interval = 1;
//绑定定时任务 //绑定定时任务
//设置延迟时间 //设置延迟时间
_timer = new Timer(DoWork, null, TimeSpan.Zero, TimeSpan.FromSeconds(60 * Interval)); _timer = new Timer(DoWork, null, TimeSpan.Zero, TimeSpan.FromSeconds(60 * Interval));
......
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