Index: /issm/trunk/cron/nightlyrun.sh
===================================================================
--- /issm/trunk/cron/nightlyrun.sh	(revision 1539)
+++ /issm/trunk/cron/nightlyrun.sh	(revision 1540)
@@ -15,4 +15,5 @@
 export TODAY=`date | awk '{printf("%s-%s-%s",$2,$3,$6);}'`;
 export HOST_NAME=`hostname`;
+export HOST_NAME_SHORT=`hostname -s`;
 export ISSM_RELEASE="issm"
 
@@ -36,5 +37,5 @@
 cat << END > cluster.rc
 begin
-cluster_name=$HOST_NAME
+cluster_name=$HOST_NAME_SHORT
 cluster_codepath=$ISSM_DIR/bin
 cluster_executionpath=$EXECUTION_PATH
@@ -76,5 +77,5 @@
 
 #Build html report
-sh cron/report.sh
+./cron/report.sh
 		
 #send mail
@@ -84,5 +85,5 @@
 From: "ISSM Nightly run" <$EMAIL_ADRESS>
 To: $i
-Subject: Nightly runs of $ISSM_RELEASE on: $host_name. Date:$today.
+Subject: Nightly runs of $ISSM_RELEASE on: $HOST_NAME_SHORT. Date:$TODAY.
 Mime-Version: 1.0
 Content-Type: text/html
