📜  取消与一个名称相关的作业 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:44.307000             🧑  作者: Mango

代码示例1
sbatch | grep yourname | grep job_name | awk '{print "scancel " $1}' > jobs.cancel

then and !#/bin/bash  to first jobs.cancel file, and then
bash jobs.cancel