Schedulers fixed

This commit is contained in:
vfedosevich 2013-06-03 14:07:52 +03:00
parent c8a8be8894
commit 645229bef1
17 changed files with 278 additions and 85 deletions

View file

@ -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
}
}