Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/bash
[ -z "$ORACLE_SID" ] && echo "\$ORACLE_SID not set" && exit 1
if ! lsnrctl status >/dev/null
then
lsnrctl start
fi
if ! ps -eaf |grep -v grep |grep pmon_$ORACLE_SID >/dev/null
then
sqlplus / as sysdba <<EOF
startup;
EOF
fi
if ! emctl status agent >/dev/null
then
emctl start agent
fi