fixed bugs Scheduler Service
This commit is contained in:
parent
d14b5fc01f
commit
20f4b371d1
30 changed files with 332 additions and 190 deletions
|
@ -45,7 +45,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
private DateTime toTime;
|
||||
private DateTime startTime;
|
||||
private DateTime lastRun;
|
||||
private DateTime lastFinish;
|
||||
private DateTime nextRun;
|
||||
private bool enabled;
|
||||
private string statusId;
|
||||
|
@ -122,12 +121,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
set { this.lastRun = value; }
|
||||
}
|
||||
|
||||
public System.DateTime LastFinish
|
||||
{
|
||||
get { return this.lastFinish; }
|
||||
set { this.lastFinish = value; }
|
||||
}
|
||||
|
||||
public System.DateTime NextRun
|
||||
{
|
||||
get { return this.nextRun; }
|
||||
|
|
|
@ -43,6 +43,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
public int Id { get; set; }
|
||||
|
||||
public Guid Guid { get; set; }
|
||||
|
||||
public String TaskId { get; set; }
|
||||
|
||||
public int ScheduleId { get; set; }
|
||||
|
@ -98,10 +100,11 @@ namespace WebsitePanel.EnterpriseServer
|
|||
Logs = new List<BackgroundTaskLogRecord>();
|
||||
}
|
||||
|
||||
public BackgroundTask(String taskId, int userId, int effectiveUserId, String source, String taskName, String itemName,
|
||||
public BackgroundTask(Guid guid, String taskId, int userId, int effectiveUserId, String source, String taskName, String itemName,
|
||||
int itemId, int scheduleId, int packageId, int maximumExecutionTime, List<BackgroundTaskParameter> parameters)
|
||||
: this()
|
||||
{
|
||||
Guid = guid;
|
||||
TaskId = taskId;
|
||||
UserId = userId;
|
||||
EffectiveUserId = effectiveUserId;
|
||||
|
@ -172,6 +175,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
public Object Value { get; set; }
|
||||
|
||||
public String TypeName { get; set; }
|
||||
|
||||
public String SerializerValue { get; set; }
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue