job finish

Applies To: Microsoft HPC Pack 2008 R2, Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2, Windows HPC Server 2008 R2

Finishes a specified running job.

For examples of how to use this command, see Examples.


job finish <jobID> [/scheduler:<name>]

job finish [{/? | /help}]


Parameter Description


Specifies the identifier for the job that you want to finish.


Specifies the host name or IP address of the head node for the cluster to which you submitted the job. The value must be a valid computer name or IP address. If you do not specify the /scheduler parameter, this command uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies.


Displays Help at the command prompt.


Displays Help at the command prompt.


  • This command is similar to the job cancel command, except that the job has state of Finished rather than a state of Canceled when the command finishes.

  • Use this command when you want to end a job that has the RunUntilCanceled property set to True, and you want to set the state of the job to Finished because you have an alternate way to check that the job finished.


To finish the job with a job identifier of 67, use the following command:

job finish 67

Additional references