Changeset 9128 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 08/21/08 18:27:34 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/dbchk
r9100 r9128 50 50 51 51 getdbsetup 52 alias mymysql='mysql -s -u $us --password=$pw --host=vela $db' 53 54 # check for crashed runs, sequences and datasets 52 alias mymysql='mysql -s -u $us --password=$pw --host=$ho $db' 53 54 # check for crashed nights, runs, sequences and datasets 55 echo "Checking if something is crashed on nightly basis" >> $scriptlog 2>&1 56 nights=`echo "SELECT fDate FROM SequenceBuildStatus WHERE isnull(fFailedTime) and not isnull(fStartTime) and adddate(fStartTime, Interval 12 HOUR) < Now()" | mymysql` 57 if [ ! "$nights" = "" ] 58 then 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 61 else 62 echo " Nothing found." >> $scriptlog 2>&1 63 fi 64 55 65 echo "Checking if something is crashed on run basis" >> $scriptlog 2>&1 56 66 cruns=`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 133 133 134 134 echo "do rsync for sequence files" >> $scriptlog 2>&1 135 rsync -av --delete $sequ encepath/ $webpath/sequences >> $scriptlog 2>&1135 rsync -av --delete $sequpath/ $webpath/sequences >> $scriptlog 2>&1 136 136 137 137 echo "do rsync for dataset files" >> $scriptlog 2>&1 -
trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
r9122 r9128 40 40 41 41 num=$# 42 echo "$num scripts have to be launched" #>> $scriptlog 2>&142 echo "$num scripts have to be launched" >> $scriptlog 2>&1 43 43 i=1 44 44
Note:
See TracChangeset
for help on using the changeset viewer.