move the scheduler to a windows service
This commit is contained in:
parent
97f09a5683
commit
5e414136b2
115 changed files with 587 additions and 166 deletions
|
@ -46,12 +46,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
protected void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
if (ConfigurationManager.AppSettings["WebsitePanel.DistableScheduler"] != null)
|
||||
if (Boolean.Parse(ConfigurationManager.AppSettings["WebsitePanel.DistableScheduler"]) == false)
|
||||
{
|
||||
if (Scheduler.nextSchedule == null)
|
||||
Scheduler.Start();
|
||||
}
|
||||
}
|
||||
|
||||
protected void Application_End(object sender, EventArgs e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue