Changeset 437 for trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercurex9.ksh
- Timestamp:
- 04/06/11 17:16:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercurex9.ksh
r434 r437 236 236 fi 237 237 238 cat << END_MAIL > job_end.mail 238 if ( ${ExitFlag} ) ; then 239 status=FAILED 240 cat << END_MAIL > job_end.mail 241 Dear ${LOGIN}, 242 243 Simulation ${config_UserChoices_JobName} failed on supercomputer `hostname`. 244 Job started : ${PeriodDateBegin} 245 Job ended : ${PeriodDateEnd} 246 Output files are available in ${R_SAVE} 247 Script files, Script Outputs and Debug files are available in ${SUBMIT_DIR} 248 END_MAIL 249 else 250 status=COMPLETED 251 cat << END_MAIL > job_end.mail 239 252 Dear ${LOGIN}, 240 253 … … 245 258 Script files and Script Outputs are available in ${SUBMIT_DIR} 246 259 END_MAIL 260 fi 247 261 248 262 if [ X"${config_UserChoices_MailName}" != X ] ; then 249 mailx -s "${config_UserChoices_JobName} completed" ${config_UserChoices_MailName} < job_end.mail263 mailx -s "${config_UserChoices_JobName} ${status}" ${config_UserChoices_MailName} < job_end.mail 250 264 elif [ -f ~/.forward ] ; then 251 mailx -s "${config_UserChoices_JobName} completed" $( cat ~/.forward ) < job_end.mail265 mailx -s "${config_UserChoices_JobName} ${status}" $( cat ~/.forward ) < job_end.mail 252 266 else 253 mailx -s "${config_UserChoices_JobName} completed" ${LOGIN} < job_end.mail267 mailx -s "${config_UserChoices_JobName} ${status}" ${LOGIN} < job_end.mail 254 268 fi 255 269
Note: See TracChangeset
for help on using the changeset viewer.