#!/bin/ksh
ACTION=$1
CLUSTER=$2
ENV=$3
USER=$4
to="com"
#to="Vcom"
#to="hcom"
from="v@com"
#person=$(grep "POST /cgi-bin/new.cgi" /vzwhome/codemgr/apache/logs/access_log| tail -1 | awk '{print $2 $3}')
echo " $ACTION $CLUSTER $ENV "
#echo " $person"
MAILFILE=/tmp/depmail.txt
#if [[ ${ENV} == "QA2" ]]
#then
mailx -s "' ${ACTION} ${CLUSTER} ${ENV} '" -r "$from" "$to" <$MAILFILE
#fi
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment