Ignore:
Timestamp:
08/21/08 18:27:34 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/dbchk

    r9100 r9128  
    5050
    5151getdbsetup
    52 alias mymysql='mysql -s -u $us --password=$pw --host=vela $db'
    53 
    54 # check for crashed runs, sequences and datasets
     52alias mymysql='mysql -s -u $us --password=$pw --host=$ho $db'
     53
     54# check for crashed nights, runs, sequences and datasets
     55echo "Checking if something is crashed on nightly basis" >> $scriptlog 2>&1
     56nights=`echo "SELECT fDate FROM SequenceBuildStatus WHERE isnull(fFailedTime) and not isnull(fStartTime) and adddate(fStartTime, Interval 12 HOUR) < Now()" | mymysql`
     57if [ ! "$nights" = "" ]
     58then
     59   printprocesslog "WARN For the following nights something seems to be crashed. Please check manually: $nights"
     60   echo "WARN For the following nights something  seems to be crashed. Please check manually: $nights" >> $scriptlog 2>&1
     61else
     62   echo " Nothing found." >> $scriptlog 2>&1
     63fi
     64
    5565echo "Checking if something is crashed on run basis" >> $scriptlog 2>&1
    5666cruns=`echo "SELECT fRunNumber FROM RunProcessStatus WHERE isnull(fFailedTime) and not isnull(fStartTime) and adddate(fStartTime, Interval 12 HOUR) < Now()" | mymysql`
  • trunk/MagicSoft/Mars/datacenter/scripts/dowebplots

    r9126 r9128  
    133133
    134134echo "do rsync for sequence files" >> $scriptlog 2>&1
    135 rsync -av --delete $sequencepath/ $webpath/sequences >> $scriptlog 2>&1
     135rsync -av --delete $sequpath/ $webpath/sequences >> $scriptlog 2>&1
    136136
    137137echo "do rsync for dataset files" >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher

    r9122 r9128  
    4040
    4141num=$#
    42 echo "$num scripts have to be launched" #>> $scriptlog 2>&1
     42echo "$num scripts have to be launched" >> $scriptlog 2>&1
    4343i=1
    4444
Note: See TracChangeset for help on using the changeset viewer.