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_mercurex8.ksh

    r434 r437  
    228228    fi 
    229229 
    230     ssh mercure /bin/ksh <<-EOF 
     230    if ( ${ExitFlag} ) ; then 
     231        status=FAILED 
     232        # Nothing fo now 
     233    else 
     234        status=COMPLETED 
     235        ssh mercure /bin/ksh <<-EOF 
    231236    export LOGIN=${LOGIN} 
    232237    export config_UserChoices_JobName=${config_UserChoices_JobName} 
     
    256261    rm -f job_end.mail 
    257262EOF 
     263    fi 
    258264 
    259265    if [ $? -gt 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.