Skip to content

Commit

Permalink
stop to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 4, 2022
1 parent bf2e5c6 commit 5bdcf75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/network/bts1gensub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ echo -e "All the jobs are finished !!\n"
email_note $email "Stage 1" "Completed !!!"
else
echo -e "Please notice that some of the jobs are unfinished. Program will stop and please try to find the problem. \n"
email_note $email "Stage 1" "Stopped ..."
email_note $email "Stage 1" "Failed ..."
grep -Eo '[0-9]+$' submit1_log | xargs scancel
kill -10 $job_id
exit -1
Expand Down
2 changes: 1 addition & 1 deletion script/network/bts2gensub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ echo -e "All the jobs are finished !!\n"
email_note $email "Stage 2" "Completed !!!"
else
echo -e "Please notice that some of the jobs are unfinished. Program will stop and please try to find the problem. \n"
email_note $email "Stage 2" "Stopped ..."
email_note $email "Stage 2" "Failed ..."
grep -Eo '[0-9]+$' submit2_log | xargs scancel
kill -10 $job_id
exit -1
Expand Down

0 comments on commit 5bdcf75

Please sign in to comment.