If you want to accept all of the defaults, you can use
ccontrol stop instancename restart quietly
Pregunta
I want to restart CACHE(database that I am using) Instance from shell script. What I did is created a function in the shell script named restart_cache
.
restart_cache()
{
ccontrol stop instancename restart
}
This command is running but the control goes to cache and while stopping cache it gets stuck waiting for an answer here:
Do you want to broadcast a message to anyone? No =>
How can I pass the value here through shell script
Solución
If you want to accept all of the defaults, you can use
ccontrol stop instancename restart quietly