change "exec $scancel $jobid" to "cancel_job $jobid" because
some of the scancel uses lacked "--quiet", which causes a failure if the job is already completed. cancel_job also adds "wait_for_job DONE" logic.
Please register or sign in to comment
some of the scancel uses lacked "--quiet", which causes a failure if the job is already completed. cancel_job also adds "wait_for_job DONE" logic.