#!/bin/ksh # RMINC_run_manager_down.sh # Copyright 2000, All Rights Reserved, Reed-Matthews, Inc. # runs RMINC_manager_down.sql, which looks for problems with Oracle # and the apps and then reports them here. # This program calls a pager and lets it know that the concurrent # manager is down. # sqlplus apps/apps @$RMINC_TOP/sql/RMINC_manager_down.sql rtv=$? echo "Return=$rtv" num=0 if [ $rtv -eq 2 ]; then echo "The Internal Manager is Down. Check to see if it is supposed to be" | mailx -s "Call an Applications System Administrator if there is no scheduled outage." barb@oncalldba.com fi ###