Changeset 5076


Ignore:
Timestamp:
08/09/10 12:03:08 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

Location:
issm/trunk/cron
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/cron/nightlyrun.sh

    r5070 r5076  
    3939
    4040#Get configuration
    41 #Check that no other nightly run is running {{{1
    42 if [ "$(ps aux | grep "nightlyrun\.sh" | grep -v "grep")" ]
    43 then
    44         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         do
    48                 kill -9 $JOBID;
    49         done;
    50 fi
    51 #}}}
    5241#Source config file{{{1
    5342if [ $# -ne 1 ];
     
    257246#Send Report
    258247#Build html report {{{1
    259 cd $ISSM_DIR/cron/
    260 ./report.sh
     248cd $ISSM_DIR/nightlylog/
     249sh ../cron/report.sh
    261250echo "html report located in $ISSM_DIR/nightlylog/report.html"
    262251#}}}
  • issm/trunk/cron/report.sh

    r5068 r5076  
    11#!/bin/bash
    22#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/
    63
    74#----------------------------#
  • issm/trunk/cron/run.sh

    r5068 r5076  
    3838                $(if [ "$NROPTIONS" = ""  ]
    3939        then
    40                 echo "runme('rank',$i,'numprocs',$NUMCPUS_RUN);"
     40                echo "runme('output','nightly','rank',$i,'numprocs',$NUMCPUS_RUN);"
    4141        else
    42                 echo "runme($NROPTIONS,'rank',$i,'numprocs',$NUMCPUS_RUN);"
     42                echo "runme($NROPTIONS,'output','nightly','rank',$i,'numprocs',$NUMCPUS_RUN);"
    4343        fi
    4444        )
Note: See TracChangeset for help on using the changeset viewer.