Updating a Job Using the Command Line Interface

Use the following steps to suspend, kill, or resume one or more jobs or to update the reason for suspending, killing, or resuming the jobs.

  1. Download the update_job_template.xml file to the computer where you will run the command.

  2. Open the .xml file and update the XML parameters listed in the table below.

  3. Run the qlogin command to log on to the CommServe computer.

  4. From software_installation_directory/Base type the following command after substituting the XML parameters:

    qoperation execute -af update_job_template.xml

  5. Optional: Verify the jobs were updated by viewing the jobs in the CommCell Console Job Controller window.

The following table displays the XML parameters needed before running the qoperation command:

Parameter

Description of Parameter Values

message

The jobs that will be updated.

Valid values are:

  • ALL_JOBS, the operation in the operationType parameter will affect all jobs

  • ALL_SELECTED_JOBS, the operation in the operationType parameter will affect the jobs defined in the jobId parameter

operationDescription

The reason for suspending, killing, or resuming the job.

operationType

The operation to perform on the job.

Valid values are:

  • JOB_SUSPEND

  • JOB_RESUME

  • JOB_KILL

jobId

The job IDs for the jobs that will be suspended, killed, or resumed. Use the jobId parameter when the message parameter is set to ALL_SELECTED_JOBS. To add more than one job, add the following line for each job:

<jobs jobId=JobID />
×

Loading...