Changeset 2432 for TOOLS


Ignore:
Timestamp:
03/04/15 17:34:05 (10 years ago)
Author:
labetoulle
Message:

Add script to plot running and pending jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCMIP6/launch_jobs.sh

    r2431 r2432  
    22# 
    33# Cron to keep track of core usage for GENCMIP6 project. 
    4 # To be executed every day at 6am 
     4# To be executed every hour 
    55# ====================================================================== 
    66 
     
    2222# Main script to get data 
    2323# ======================= 
    24 script="conso_gencmip6" 
     24script="run_pen_v2" 
    2525printf "${script}\n" 
    2626echo "--------------------" 
    27 bin/${script}.py 
     27bin/${script}.sh 
    2828rc=$? 
    2929if [ ${rc} -ne 0 ] ; then 
     
    3434fi 
    3535 
    36 # Plot daily consumption 
    37 # ====================== 
    38 # -f : plot the whole period of the project 
     36# Plot running and pending jobs 
     37# ============================= 
    3938# -d : copy plot on dods 
    40 script="plot_bilan" 
    41 printf "\n${script}\n" 
    42 echo "--------------------" 
    43 bin/${script}.py -fd 
    44 rc=$? 
    45 if [ ${rc} -ne 0 ] ; then 
    46   echo "${script} terminated abnormally" 
    47 else 
    48   echo "${script} OK" 
    49 fi 
    50  
    51 script="plot_login" 
    52 printf "\n${script}\n" 
    53 echo "--------------------" 
    54 bin/${script}.py -d 
    55 rc=$? 
    56 if [ ${rc} -ne 0 ] ; then 
    57   echo "${script} terminated abnormally" 
    58 else 
    59   echo "${script} OK" 
    60 fi 
    61  
    62 script="plot_store" 
     39script="plot_jobs" 
    6340printf "\n${script}\n" 
    6441echo "--------------------" 
Note: See TracChangeset for help on using the changeset viewer.