jobtemplate delete
Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2
Deletes the specified job template from the HPC cluster.
For examples of how to use this command, see Examples.
Syntax
jobtemplate delete <job_template_name> [/scheduler:<name>]
jobtemplate delete {/? | /help}]
Parameters
Parameter |
Description |
---|---|
<job_template_name> |
Specifies the name of the job template that you want to delete. |
/scheduler:<name> |
Specifies the host name or IP address of the head node for the cluster where you want to delete the job template. 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. |
/help |
Displays Help at the command prompt. |
Remarks
Only cluster administrators can delete job templates.
If a job in the queued or running state uses the template, an error occurs and the jobtemplate delete command does not delete the template.
You cannot delete the default job template.
Examples
To delete the job template named MyExtraTemplate, use the following command:
jobtemplate delete MyExtraTemplate