Changeset 1406


Ignore:
Timestamp:
07/29/09 09:35:30 (16 years ago)
Author:
Mathieu Morlighem
Message:

some improvements

Location:
issm/trunk/cron
Files:
2 edited

Legend:

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

    r1402 r1406  
    1414
    1515#Figure out today's date
    16 today=`today_date`;
    17 host_name=`hostname`;
     16export today=`today_date`;
     17export host_name=`hostname`;
    1818
    1919#create ISSM variables
     
    2121export ISSM_ARCH=linux-gnu-amd64
    2222source $ISSM_DIR/etc/environment.sh
    23 ISSM_RELEASE="issm";
     23export ISSM_RELEASE="issm";
    2424
    2525#Erase previous code
  • issm/trunk/cron/report.sh

    r1074 r1406  
    11#!/bin/bash
    22#generate html report from nightly.log output file
    3 
    4 #get some variables
    5 function today_date {
    6 suffix=`date | awk '{printf("%s-%s-%s %s",$2,$3,$6,$4);}'`
    7 echo $suffix;
    8 }
    9 ISSM_RELEASE="issm";
    10 today=`today_date`;
    11 host_name=`hostname`;
    123
    134#Process log for errors
     
    8980<br>
    9081<div class="issmcomment">
     82date: $today<br>
    9183host: $host_name<br>
    92 date: $today<br>
     84platform: $ISSM_ARCH<br>
    9385release: $ISSM_RELEASE<br>
    9486<br>
     
    129121
    130122                #No Test: use a table to fix entourage bug.
    131                 echo "<table width=\"200px\" style=\"color:#FF0000; font-size:14px;\"><tr><td align=\"center\">No test found.</td></tr></table>"
     123                echo "<table width=\"20%\" style=\"color:#FF0000; font-size:14px;\"><tr><td align=\"center\">No test found.</td></tr></table>"
    132124
    133125        else
    134126
    135                 echo "<table cellspacing=\"-1\" width=\"800px\" style=\"font-family: Arial, Verdana, Tahoma; color: #404040;\">"
     127                echo "<table cellspacing=\"-1\" width=\"100%\" style=\"font-family: Arial, Verdana, Tahoma; color: #404040;\">"
    136128                echo "<tr> <th style=\"font-size:14px;\">Result</th> <th style=\"font-size:14px;\">Tolerance</th> <th style=\"font-size:14px;\">Test</th>  <th style=\"font-size:14px;\">Solution</th> <th style=\"font-size:14px;\">Field</th> </tr>"
    137129
Note: See TracChangeset for help on using the changeset viewer.