Index: /issm/trunk/cron/nightlyrun.sh
===================================================================
--- /issm/trunk/cron/nightlyrun.sh	(revision 5075)
+++ /issm/trunk/cron/nightlyrun.sh	(revision 5076)
@@ -39,15 +39,4 @@
 
 #Get configuration
-#Check that no other nightly run is running {{{1
-if [ "$(ps aux | grep "nightlyrun\.sh" | grep -v "grep")" ]
-then
-	echo "WARNING: A nightly run is already running. Killing..."
-
-	for JOBID in $(ps aux | grep "nighltyrun\.sh" | grep -v "grep" | awk '{printf("%s\n",$2);}');
-	do
-		kill -9 $JOBID;
-	done;
-fi
-#}}}
 #Source config file{{{1
 if [ $# -ne 1 ];
@@ -257,6 +246,6 @@
 #Send Report
 #Build html report {{{1
-cd $ISSM_DIR/cron/
-./report.sh
+cd $ISSM_DIR/nightlylog/
+sh ../cron/report.sh
 echo "html report located in $ISSM_DIR/nightlylog/report.html"
 #}}}
Index: /issm/trunk/cron/report.sh
===================================================================
--- /issm/trunk/cron/report.sh	(revision 5075)
+++ /issm/trunk/cron/report.sh	(revision 5076)
@@ -1,7 +1,4 @@
 #!/bin/bash
 #generate html report from nightly.log output file
-
-#First go to the nightly run directory (created by nightlyrun.sh)
-cd $ISSM_DIR/nightlylog/
 
 #----------------------------#
Index: /issm/trunk/cron/run.sh
===================================================================
--- /issm/trunk/cron/run.sh	(revision 5075)
+++ /issm/trunk/cron/run.sh	(revision 5076)
@@ -38,7 +38,7 @@
 		$(if [ "$NROPTIONS" = ""  ]
 	then
-		echo "runme('rank',$i,'numprocs',$NUMCPUS_RUN);"
+		echo "runme('output','nightly','rank',$i,'numprocs',$NUMCPUS_RUN);"
 	else
-		echo "runme($NROPTIONS,'rank',$i,'numprocs',$NUMCPUS_RUN);"
+		echo "runme($NROPTIONS,'output','nightly','rank',$i,'numprocs',$NUMCPUS_RUN);"
 	fi
 	)
