Merge Commit
Scheduler updated
This commit is contained in:
parent
90caf76ce3
commit
dcf3c7417c
1 changed files with 6 additions and 7 deletions
|
@ -162,14 +162,13 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
counter++;
|
||||
}
|
||||
|
||||
// skip execution if the current task is still running
|
||||
scheduledTasks = TaskManager.GetScheduledTasks();
|
||||
if (!scheduledTasks.ContainsKey(schedule.ScheduleInfo.ScheduleId))
|
||||
{
|
||||
// skip execution if the current task is still running
|
||||
scheduledTasks = TaskManager.GetScheduledTasks();
|
||||
if (!scheduledTasks.ContainsKey(schedule.ScheduleInfo.ScheduleId))
|
||||
{
|
||||
// run the schedule in the separate thread
|
||||
schedule.Run();
|
||||
}
|
||||
// run the schedule in the separate thread
|
||||
schedule.Run();
|
||||
}
|
||||
}
|
||||
catch (Exception Ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue