Ignore:
Timestamp:
04/06/11 17:16:38 (13 years ago)
Author:
sdipsl
Message:

Send mail notification when computing job stops
It could be that we send a notification if a post-processing job stops in PROD mode ---> need some refactoring and caution...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_titane.ksh

    r434 r437  
    252252    fi 
    253253 
    254     IGCM_sys_RshPost <<-EOF 
     254    if ( ${ExitFlag} ) ; then 
     255        status=FAILED 
     256        # Nothing more at this point of time 
     257    else 
     258        status=COMPLETED 
     259        IGCM_sys_RshPost <<-EOF 
    255260    export LOGIN=${LOGIN} 
    256261    export config_UserChoices_JobName=${config_UserChoices_JobName} 
     
    280285    rm -f job_end.mail 
    281286EOF 
     287    fi 
    282288 
    283289    if [ $? -gt 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.