Index: trunk/MagicSoft/Mars/datacenter/scripts/dbchk
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dbchk	(revision 9126)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dbchk	(revision 9128)
@@ -50,7 +50,17 @@
 
 getdbsetup
-alias mymysql='mysql -s -u $us --password=$pw --host=vela $db'
-
-# check for crashed runs, sequences and datasets
+alias mymysql='mysql -s -u $us --password=$pw --host=$ho $db'
+
+# check for crashed nights, runs, sequences and datasets
+echo "Checking if something is crashed on nightly basis" >> $scriptlog 2>&1
+nights=`echo "SELECT fDate FROM SequenceBuildStatus WHERE isnull(fFailedTime) and not isnull(fStartTime) and adddate(fStartTime, Interval 12 HOUR) < Now()" | mymysql`
+if [ ! "$nights" = "" ]
+then
+   printprocesslog "WARN For the following nights something seems to be crashed. Please check manually: $nights"
+   echo "WARN For the following nights something  seems to be crashed. Please check manually: $nights" >> $scriptlog 2>&1
+else
+   echo " Nothing found." >> $scriptlog 2>&1
+fi
+
 echo "Checking if something is crashed on run basis" >> $scriptlog 2>&1
 cruns=`echo "SELECT fRunNumber FROM RunProcessStatus WHERE isnull(fFailedTime) and not isnull(fStartTime) and adddate(fStartTime, Interval 12 HOUR) < Now()" | mymysql`
Index: trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dowebplots	(revision 9126)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dowebplots	(revision 9128)
@@ -133,5 +133,5 @@
 
 echo "do rsync for sequence files" >> $scriptlog 2>&1
-rsync -av --delete $sequencepath/ $webpath/sequences >> $scriptlog 2>&1
+rsync -av --delete $sequpath/ $webpath/sequences >> $scriptlog 2>&1
 
 echo "do rsync for dataset files" >> $scriptlog 2>&1
Index: trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher	(revision 9126)
+++ trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher	(revision 9128)
@@ -40,5 +40,5 @@
 
 num=$#
-echo "$num scripts have to be launched" #>> $scriptlog 2>&1
+echo "$num scripts have to be launched" >> $scriptlog 2>&1
 i=1
 
