📅  最后修改于: 2022-03-11 14:50:44.307000             🧑  作者: Mango
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