Changeset 1540
- Timestamp:
- 08/04/09 09:57:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r1539 r1540 15 15 export TODAY=`date | awk '{printf("%s-%s-%s",$2,$3,$6);}'`; 16 16 export HOST_NAME=`hostname`; 17 export HOST_NAME_SHORT=`hostname -s`; 17 18 export ISSM_RELEASE="issm" 18 19 … … 36 37 cat << END > cluster.rc 37 38 begin 38 cluster_name=$HOST_NAME 39 cluster_name=$HOST_NAME_SHORT 39 40 cluster_codepath=$ISSM_DIR/bin 40 41 cluster_executionpath=$EXECUTION_PATH … … 76 77 77 78 #Build html report 78 shcron/report.sh79 ./cron/report.sh 79 80 80 81 #send mail … … 84 85 From: "ISSM Nightly run" <$EMAIL_ADRESS> 85 86 To: $i 86 Subject: Nightly runs of $ISSM_RELEASE on: $ host_name. Date:$today.87 Subject: Nightly runs of $ISSM_RELEASE on: $HOST_NAME_SHORT. Date:$TODAY. 87 88 Mime-Version: 1.0 88 89 Content-Type: text/html
Note:
See TracChangeset
for help on using the changeset viewer.