Model for a scheduler exection.
name | data type | constraints | description |
---|---|---|---|
id | number | Execution ID | |
scheduleId | number | Schedule ID | |
schedule | ScheduleModel | The corresponding schedule | |
startTime | number | Start time | |
endTime | number | End time | |
duration | number | Duration | |
result | boolean | Result | |
log | string | Command output | |
running | boolean | required boolean | Check whether the execution is still running |
Example
{ "id" : 12345, "scheduleId" : 12345, "schedule" : { "id" : 12345, "name" : "...", "description" : "...", "taskId" : 12345, "task" : { "id" : 12345, "name" : "...", "description" : "...", "command" : "...", "internal" : true, "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345 }, "scheduleData" : { "type" : "followup", "startTimestamp" : 12345, "endTimestamp" : 12345, "interval" : { }, "follow" : { } }, "parallel" : true, "active" : true, "status" : "RUNNING", "notificationEmail" : [ "...", "..." ], "runs" : 12345, "averageTime" : 12345, "lastExecution" : { "id" : 12345, "scheduleId" : 12345, "schedule" : { }, "startTime" : 12345, "endTime" : 12345, "duration" : 12345, "result" : true, "log" : "...", "running" : true }, "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "edate" : 12345 }, "startTime" : 12345, "endTime" : 12345, "duration" : 12345, "result" : true, "log" : "...", "running" : true }