Fixing bugs (Scheduler)
This commit is contained in:
parent
bcceb95f92
commit
e8ed10a67b
7 changed files with 36 additions and 39 deletions
|
@ -66,7 +66,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
{
|
||||
// create worker
|
||||
Thread worker = new Thread(new ThreadStart(RunSchedule));
|
||||
|
||||
// set worker priority
|
||||
switch (scheduleInfo.Priority)
|
||||
{
|
||||
|
@ -109,7 +108,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
objTask.DoWork();
|
||||
else
|
||||
throw new Exception(String.Format("Could not create scheduled task of '{0}' type",
|
||||
task.TaskType));
|
||||
task.TaskType));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue