How to run shell script with sudo user from external scheduler
We have using version linux 5 operating system.
my oracle installed under "admin" user.
we have to monitor my oracle database is available or not from my application server.
for this we prepared the shell script and put oracle sql command inside the shell script.
this shell script we have to run from external scheduler.
i am runing shell script from external scheduler with my login but i am not able to use oracle(is installed under admin)
Please any one tell me how to run to shell script sql command with sudo user from external scheduler.