SiteScheduledJobs.getLastRunStatus (Method)
Returns zero or more structures, each containing information on a site scheduled job's last run on each server.
Returns:
ScheduledJobs_GetLastRunStatus_Results (query)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
LastFinished | DateTime_EmptyString | The date and time when the scheduled job previously finished. |
LastStarted | DateTime_EmptyString | The date and time when the scheduled job was previously started. |
LastStatus | PlainText | A message describing the latest status. |
ServerID | ServerID | The ID of the server. |
ServerName | ServerName | The name of the server. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
scheduledJobID | SiteScheduledJobID | Required | The unique ID of the Scheduled Job to get the last run status. |
Context:
License Requirements | (none) |
Permission Requirements | site:SiteAdmin |
Deny Context | ClusterROPS |
Require Context | (none) |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | Customization is not supported for this method. |
Error Codes:
None
Notes:
None