+

Search Tips   |   Advanced Search

AdministrativeJobs

Use the Jython scripting language to configure and manage administrative jobs with the wsadmin tool.


deleteJob

Delete an existing job from the job manager. If the job is running when you invoke the command, the system still returns the job results whether or not the job is deleted.

Target object: None.

Required parameters:

Return value: The command does not return output.

Batch mode example usage

Interactive mode example usage


getJobTargets

Display the target for a job of interest. The target that the command returns for a job might be unenrolled or deleted.

Target object: None.

Required parameters:

Return value: The command returns the node name for the targets for the job of interest.

Batch mode example usage

Interactive mode example usage


getJobTargetStatus

Display the most recent job target status for the job of interest.

Target object: None.

Required parameters:

Optional parameters:

Return value:

The command returns the most recent job status for the targets. The status might be: NOT_ATTEMPTED, DISTRIBUTED, ASYNC_IN_PROGRESS, SUCCEEDED, PARTIALLY_SUCCEEDED, FAILED, DELAYED, or REJECTED.

Batch mode example usage

Interactive mode example usage


getJobTargetHistory

Display the job target history for the job of interest.

Target object: None.

Required parameters

Optional parameters:

Return value: The command returns a list of attributes, where the first attribute specifies the number of matches, and the second attribute specifies the history of the job on the target. Each list contains the timestamp, status, message, and result attributes.

Batch mode example usage

Interactive mode example usage


getJobTypes

Display the supported job types for an endpoint of interest.

Target object: None.

Optional parameters

Return value: The command returns a list of job types that each specified target supports.

Batch mode example usage

Interactive mode example usage


getJobTypeMetadata

Display the metadata associated with a specific job type.

Target object: None.

Required parameters:

Return value: The command returns a list of attributes, including the name, label, description, job-properties, and job-parameters attributes.

Batch mode example usage

Interactive mode example usage


getOverallJobStatus

Display the overall job status for a specific job or a list of jobs of interest.

Target object: None.

Optional parameters:

Return value: The command returns job status information for the job or jobs of interest. The REJECTED attribute specifies the number of jobs that the job manager rejected and did not run. The system displays the following information in the overall job status:

Batch mode example usage

Interactive mode example usage


queryJobs

Query the job manager for each submitted job.

Target object: None.

Required parameters:

Return value: The command returns a list of attributes, where the first attribute specifies the number of matches the query produced, and the second attribute specifies a list of job tokens that match the query, as the following sample displays:

[ [result [{activationDateTime=2008-03-11T11:56:48-0500, 
 expirationDateTime=2008-05-10T11:56:48-0500, jobToken=120525460839085191, 
 description=testSubmitJobToValidBaseTargetList}{activationDateTime=2008-03-11T14:05:33-0500, 
 expirationDateTime=2008-05-10T14:05:33-0500, jobToken=120526233387582472,
 description=testSubmitJobToValidBaseTargetList}]] [size 2] ]

Batch mode example usage

Interactive mode example usage


resumeJob

Resume a previously started or suspended job.

Target object: None.

Required parameters:

Return value: The command does not return output.

Batch mode example usage

Interactive mode example usage


submitJob

Submit a new administrative job to the job manager.

Target object: None.

Required parameters

Optional parameters:

Return value. The command returns a job token for the newly submitted job.

Batch mode example usage

Interactive mode example usage


suspendJob

Suspend a job that was previously submitted.

Target object: None.

Required parameters:

Return value: The command does not return output.

Batch mode example usage

Interactive mode example usage

  • JobManagerNode .
  • ManagedNodeGroup using wsadmin.sh (deprecated)
  • ManagedNodeAgent .