Schedulers fixed
This commit is contained in:
parent
c8a8be8894
commit
645229bef1
17 changed files with 278 additions and 85 deletions
|
@ -1,15 +1,19 @@
|
|||
using System.ServiceProcess;
|
||||
using System.Threading;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
|
||||
namespace WebsitePanel.SchedulerService
|
||||
{
|
||||
public partial class SchedulerService : ServiceBase
|
||||
{
|
||||
private Timer _timer = new Timer(Process, null, 5000, 5000);
|
||||
|
||||
#region Construcor
|
||||
|
||||
public SchedulerService()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -21,6 +25,11 @@ namespace WebsitePanel.SchedulerService
|
|||
Scheduler.Start();
|
||||
}
|
||||
|
||||
protected static void Process(object callback)
|
||||
{
|
||||
Scheduler.Start();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue