Changeset 1406
- Timestamp:
- 07/29/09 09:35:30 (16 years ago)
- Location:
- issm/trunk/cron
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r1402 r1406 14 14 15 15 #Figure out today's date 16 today=`today_date`;17 host_name=`hostname`;16 export today=`today_date`; 17 export host_name=`hostname`; 18 18 19 19 #create ISSM variables … … 21 21 export ISSM_ARCH=linux-gnu-amd64 22 22 source $ISSM_DIR/etc/environment.sh 23 ISSM_RELEASE="issm";23 export ISSM_RELEASE="issm"; 24 24 25 25 #Erase previous code -
issm/trunk/cron/report.sh
r1074 r1406 1 1 #!/bin/bash 2 2 #generate html report from nightly.log output file 3 4 #get some variables5 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`;12 3 13 4 #Process log for errors … … 89 80 <br> 90 81 <div class="issmcomment"> 82 date: $today<br> 91 83 host: $host_name<br> 92 date: $today<br>84 platform: $ISSM_ARCH<br> 93 85 release: $ISSM_RELEASE<br> 94 86 <br> … … 129 121 130 122 #No Test: use a table to fix entourage bug. 131 echo "<table width=\"20 0px\" 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>" 132 124 133 125 else 134 126 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;\">" 136 128 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>" 137 129
Note:
See TracChangeset
for help on using the changeset viewer.