err_exit ======================== 根据所使用的作业管理系统修改::code:`${ROOT_DIR}/nwprod/prod_util.v1.1.3/ush/err_exit` 例如使用PBS系统: .. code-block:: bash ... ... if [ -n "$PBS_JOBID" ]; then if [ "$SENDECF" = "YES" ]; then timeout 30 ecflow_client --msg "$ECF_NAME: $msg1" fi qdel $PBS_JOBID sleep 60 # Wait for PBS to kill the job fi