Changeset 5076
- Timestamp:
- 08/09/10 12:03:08 (15 years ago)
- Location:
- issm/trunk/cron
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r5070 r5076 39 39 40 40 #Get configuration 41 #Check that no other nightly run is running {{{142 if [ "$(ps aux | grep "nightlyrun\.sh" | grep -v "grep")" ]43 then44 echo "WARNING: A nightly run is already running. Killing..."45 46 for JOBID in $(ps aux | grep "nighltyrun\.sh" | grep -v "grep" | awk '{printf("%s\n",$2);}');47 do48 kill -9 $JOBID;49 done;50 fi51 #}}}52 41 #Source config file{{{1 53 42 if [ $# -ne 1 ]; … … 257 246 #Send Report 258 247 #Build html report {{{1 259 cd $ISSM_DIR/ cron/260 ./report.sh248 cd $ISSM_DIR/nightlylog/ 249 sh ../cron/report.sh 261 250 echo "html report located in $ISSM_DIR/nightlylog/report.html" 262 251 #}}} -
issm/trunk/cron/report.sh
r5068 r5076 1 1 #!/bin/bash 2 2 #generate html report from nightly.log output file 3 4 #First go to the nightly run directory (created by nightlyrun.sh)5 cd $ISSM_DIR/nightlylog/6 3 7 4 #----------------------------# -
issm/trunk/cron/run.sh
r5068 r5076 38 38 $(if [ "$NROPTIONS" = "" ] 39 39 then 40 echo "runme(' rank',$i,'numprocs',$NUMCPUS_RUN);"40 echo "runme('output','nightly','rank',$i,'numprocs',$NUMCPUS_RUN);" 41 41 else 42 echo "runme($NROPTIONS,' rank',$i,'numprocs',$NUMCPUS_RUN);"42 echo "runme($NROPTIONS,'output','nightly','rank',$i,'numprocs',$NUMCPUS_RUN);" 43 43 fi 44 44 )
Note:
See TracChangeset
for help on using the changeset viewer.