Changeset 1540


Ignore:
Timestamp:
08/04/09 09:57:54 (16 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/cron/nightlyrun.sh

    r1539 r1540  
    1515export TODAY=`date | awk '{printf("%s-%s-%s",$2,$3,$6);}'`;
    1616export HOST_NAME=`hostname`;
     17export HOST_NAME_SHORT=`hostname -s`;
    1718export ISSM_RELEASE="issm"
    1819
     
    3637cat << END > cluster.rc
    3738begin
    38 cluster_name=$HOST_NAME
     39cluster_name=$HOST_NAME_SHORT
    3940cluster_codepath=$ISSM_DIR/bin
    4041cluster_executionpath=$EXECUTION_PATH
     
    7677
    7778#Build html report
    78 sh cron/report.sh
     79./cron/report.sh
    7980               
    8081#send mail
     
    8485From: "ISSM Nightly run" <$EMAIL_ADRESS>
    8586To: $i
    86 Subject: Nightly runs of $ISSM_RELEASE on: $host_name. Date:$today.
     87Subject: Nightly runs of $ISSM_RELEASE on: $HOST_NAME_SHORT. Date:$TODAY.
    8788Mime-Version: 1.0
    8889Content-Type: text/html
Note: See TracChangeset for help on using the changeset viewer.