Utility getAllJobsFailedByJobPolicy
Utility getAllJobsFailedByJobPolicy
Description:
This command provides the details of all the jobs that failed due to non-compliance with the job policy rules. The details include job name, user name, role name, job start time, and error message. These details are exported to a .csv file.
Return type: String
Command input:
Variable name | Variable type | Description |
---|---|---|
exportFileName | String | Name of the file that contains the exported command output. |
Syntax:
Utility getAllJobsFailedByJobPolicy <exportFileName>
Example:
Utility getAllJobsFailedByJobPolicy "C:/temp/failedJobs.csv"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*