stop_job

Stops a specified job. You can use the get_jobs verb to obtain a list of job IDs and names.

Format

emcli stop_job
      [-job_id="ID1;ID2;..."]
      [-name="job_name_pattern"]
      [-owner="job_owner"]
      [-type="job_type"]
      [-targets="target_name:target_type"]
      [-input_file=property_file:"filename"]
      [-preview]

[ ]  indicates that the parameter is optional

Options

  • job_id

    Semi-colon ( ; ) separated list of job(s) to stop.

    Note: This filter cannot be used with other filters.

  • name

    Name or pattern of the job(s) to stop.

  • owner

    Owner of the job(s).

  • type

    Job type of the job(s).

  • targets

    Targret name and target type of the job(s) to stop.

  • input_file

    The properties for filtering jobs may be specified in "filename."

    For more information about the input_file parameter, see -input_file Syntax Guidelines.

  • preview

    Lists only the jobs to stop.

Examples

Example 1

This example stops a job with the specified ID.

emcli stop_job -job_id=12345678901234567890123456789012

Example 2

This example stops all jobs owned by the Administrator "Jennifer".

emcli stop_job -owner=Jennifer