Changeset 1354 for trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
- Timestamp:
- 09/09/16 17:17:40 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
r1353 r1354 703 703 ActivateBigBro=true 704 704 705 # Save project accounting details in a file 706 accountingFile=cpt_${CENTER}_${PROJECT}_$( date +"%Y%m%d_%H%M" ).dat 707 IGCM_sys_projectAccounting ${accountingFile} 708 709 # And send it 710 IGCM_debug_sendAMQP_projectAccounting ${accountingFile} 711 705 if [ X${TaskType} = Xcomputing ]; then 706 # Save project accounting details in a file 707 accountingFile=cpt_${CENTER}_${PROJECT}_$( date +"%Y%m%d_%H%M" ).dat 708 IGCM_sys_projectAccounting ${accountingFile} 709 710 # And send it 711 IGCM_debug_sendAMQP_projectAccounting ${accountingFile} 712 fi 712 713 fi 713 714 IGCM_debug_PopStack "IGCM_debug_BigBro_Initialize" … … 728 729 729 730 if [ X${ActivateBigBro} = Xtrue ] ; then 730 731 732 733 734 735 736 731 if [ X${TaskType} = Xcomputing ]; then 732 # Send ${PeriodDateBegin}, ${PeriodDateEnd} and ${CumulPeriod} 733 # RabbitMQ message body 734 Body=$( echo "{${genericSimulationID},\"msgCode\":\"1001\",\"PeriodDateBegin\":\"${PeriodDateBegin}\",\"PeriodDateEnd\":\"${PeriodDateEnd}\",\"CumulPeriod\":\"${CumulPeriod}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 735 # Fill the rabbitMQ queue 736 IGCM_debug_sendAMQP 737 fi 737 738 fi 738 739 IGCM_debug_PopStack "IGCM_debug_BigBro_Update"
Note: See TracChangeset
for help on using the changeset viewer.