Index: /issm/trunk/cron/linux_cronfile
===================================================================
--- /issm/trunk/cron/linux_cronfile	(revision 1366)
+++ /issm/trunk/cron/linux_cronfile	(revision 1367)
@@ -1,2 +1,2 @@
-#0 21 * * 0-5 cd /u/wilkes-r1b/morlighe/svn/issm/trunk/cron/ && ./nightlyrun.sh
+0 21 * * 0-5 cd /u/wilkes-r1b/morlighe/svn/issm/trunk/cron/ && ./nightlyrun.sh
 #0 23 * * 6 cd /u/wilkes-r1b/seroussi/svn/issm/trunk/cron/ && ./nightlyrun1.0.sh
Index: /issm/trunk/cron/nightlyrun.sh
===================================================================
--- /issm/trunk/cron/nightlyrun.sh	(revision 1366)
+++ /issm/trunk/cron/nightlyrun.sh	(revision 1367)
@@ -2,4 +2,8 @@
 #This bash script calls the nightlyrun.m matlab file to run our nightly test decks. 
 #It then processes the results and sends an email to the Ice developpers.
+
+#Recover package for which we run nightly.
+package=$1;
+echo $package
 
 #Some functions 
@@ -9,15 +13,13 @@
 }
 
-#Recover package for which we run nightly.
-package=$1;
-echo $package
+#Figure out today's date
+today=`today_date`;
+host_name=`hostname`;
 
 #create ISSM variables
 export ISSM_DIR="/u/wilkes-r1b/morlighe/svn/issm/trunk/cron/trunk"
+export ISSM_ARCH=linux-gnu-amd64
+source $ISSM_DIR/etc/environment.sh
 ISSM_RELEASE="issm";
-
-#Figure out today's date
-today=`today_date`;
-host_name=`hostname`;
 
 #Erase previous code
@@ -81,5 +83,5 @@
 #removed unused lines to deal with a smaller file
 cat nightlylong.log | egrep 'difference: |NIGHTLYRUNTERMINATEDCORRECTLY' > nightly.log
-rm nightlylong.log
+#rm nightlylong.log
 
 #Build html report
