Server - jobActivityByJobType

Server - jobActivityByJobType

Description :

This command returns all the job activity of a specific job type performed on the specified target server within the specified date range. The job activity items are displayed in the following format:

Server name|Job name|Job run start time|Job run end time|Job Type|Job Run Status|User name|Role name||||||

Returns a list of server objects.

Use one of the following integers to specify jobType:

  • 30 Deploy Job
  • 31 Audit Job
  • 32 Snapshot Job
  • 33 Uninstall Job
  • 34 Pull Job
  • 35 Cleanup Job
  • 40 File Deploy Job
  • 45 Patch Analysis Job
  • 220 Patch Subscription Job
  • 46 Download Job
  • 111 NSH Script Job
  • 190 Sync Job
  • 200 Batch Job
  • 201 Deploy Dry Run Job
  • 202 Deploy Staging Job
  • 203 Deploy Apply Job
  • 204 Deploy Undo Job
  • 405 Component Discovery Job
  • 1009 ACL Push Job
  • 1017 Update Server Properties Job
  • 5029 Provision Job
  • 5106 Compliance Job
  • 5150 Template Upgrade Job
  • 5170 DAAL Plugin Distribution Job
  • 5180 DAAL Plugin Deregistration Job
  • 5190 Atrium Import Job

Return type : java.util.List

Command Input :

Variable Name

Variable Type

Description

jobType

Integer

Job type.

startDateString

String

Start date. Use the format YYYY-MM-DD HH:MM:SS

endDateString

String

End date. Use the format YYYY-MM-DD HH:MM:SS or "" (empty string) to indicate the current date and time (now).

serverName

String

Name of the server.

Example

The following example returns all the job activity for Compliance Jobs run on the target server localhost within the date range of 2008-01-29 01:02:03 to "" (now).

Script


Server jobActivityByJobType 5106 "2008-01-29 01:02:03" "" localhost 



Was this page helpful? Yes No Submitting... Thank you

Comments