![Forrest logo](/images/logo.png)
scancel:tldr:8497e
This command is used to cancel a running or pending job in a computing cluster.
The command "scancel" is typically a system command provided by a job scheduler or resource manager on a cluster, such as Slurm or Torque. It enables the user to interact with the scheduler and perform various operations related to job management.
In the command "scancel ${job_id}", ${job_id} is a placeholder for the specific job identifier of the job that you want to cancel. The job identifier uniquely identifies a particular job that is running or in the queue.
By executing the command with the appropriate job identifier, the scancel command sends a request to the job scheduler or resource manager to cancel the specified job. The scheduler then tries to terminate the job as soon as possible, stopping its execution or removing it from the queue if it hasn't started running yet.
Note that the syntax and behavior of the "scancel" command can vary depending on the specific job scheduler or resource manager being used in the cluster.