sbatch terminate a job by id code example
Example 1: bash slurm cancel job
# Basic syntax:
scancel jobID
Example 2: sbatch cancel job
scancel -u username ##sbatch process
# Basic syntax:
scancel jobID
scancel -u username ##sbatch process