Changeset 1567
- Timestamp:
- 08/05/09 09:31:19 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r1566 r1567 115 115 for i in `echo $MAILINGLIST`; do 116 116 117 if [[ "$OS" == "winxp32" ]] 118 then 119 email -html -f "ISSM Nightly run $EMAIL_ADRESS" -s "Nightly runs of $ISSM_RELEASE OS: $OS. " $i < report.html 120 else 121 cat - report.html <<HERE | /usr/lib/sendmail -oi -t 117 if [[ "$OS" == "winxp32" ]] 118 then 119 email -html -f "ISSM Nightly run $EMAIL_ADRESS" -s "Nightly runs of $ISSM_RELEASE , operating system: $OS. " $i < report.html 120 else 121 if [[ "$OS" == "linux64" ]] 122 then 123 cat - report.html <<HERE | /usr/lib/sendmail -oi -t 122 124 From: "ISSM Nightly run" <$EMAIL_ADRESS> 123 125 To: $i 124 Subject: Nightly runs of $ISSM_RELEASE OS: $OS.126 Subject: Nightly runs of $ISSM_RELEASE , operating system: $OS. 125 127 Mime-Version: 1.0 126 128 Content-Type: text/html 127 129 HERE 128 fi 130 else 131 cat - report.html <<HERE | /usr/sbin/sendmail -oi -t 132 From: "ISSM Nightly run" <$EMAIL_ADRESS> 133 To: $i 134 Subject: Nightly runs of $ISSM_RELEASE , operating system: $OS. 135 Mime-Version: 1.0 136 Content-Type: text/html 137 HERE 138 fi 139 fi 129 140 130 141 done
Note:
See TracChangeset
for help on using the changeset viewer.