- Timestamp:
- 03/04/15 17:34:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/launch_jobs.sh
r2431 r2432 2 2 # 3 3 # Cron to keep track of core usage for GENCMIP6 project. 4 # To be executed every day at 6am4 # To be executed every hour 5 5 # ====================================================================== 6 6 … … 22 22 # Main script to get data 23 23 # ======================= 24 script=" conso_gencmip6"24 script="run_pen_v2" 25 25 printf "${script}\n" 26 26 echo "--------------------" 27 bin/${script}. py27 bin/${script}.sh 28 28 rc=$? 29 29 if [ ${rc} -ne 0 ] ; then … … 34 34 fi 35 35 36 # Plot daily consumption 37 # ====================== 38 # -f : plot the whole period of the project 36 # Plot running and pending jobs 37 # ============================= 39 38 # -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" 39 script="plot_jobs" 63 40 printf "\n${script}\n" 64 41 echo "--------------------"
Note: See TracChangeset
for help on using the changeset viewer.