Question

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

Was it helpful?

Solution

If you want to accept all of the defaults, you can use

ccontrol stop instancename restart quietly
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top