replace saving background tasks in DB
This commit is contained in:
parent
3353de1e5d
commit
e7d5bf0c7e
52 changed files with 1423 additions and 1306 deletions
|
@ -91,17 +91,20 @@ namespace WebsitePanel.EnterpriseServer
|
|||
public int InstallWebApplication(InstallationInfo inst)
|
||||
{
|
||||
// place log record
|
||||
TaskManager.StartTask("APP_INSTALLER", "INSTALL_APPLICATION");
|
||||
TaskManager.StartTask("APP_INSTALLER", "INSTALL_APPLICATION", inst.PackageId);
|
||||
|
||||
TaskManager.WriteParameter("Virtual directory", inst.VirtualDir);
|
||||
TaskManager.WriteParameter("Database group", inst.DatabaseGroup);
|
||||
TaskManager.ItemId = inst.PackageId;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
// get application info
|
||||
app = GetApplication(inst.PackageId, inst.ApplicationId);
|
||||
|
||||
TaskManager.ItemName = app.Name;
|
||||
BackgroundTask topTask = TaskController.GetTopTask();
|
||||
topTask.ItemName = app.Name;
|
||||
|
||||
TaskController.UpdateTask(topTask);
|
||||
|
||||
// check web site for existance
|
||||
WebSite webSite = WebServerController.GetWebSite(inst.WebSiteId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue