문제

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

도움이 되었습니까?

해결책

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

ccontrol stop instancename restart quietly
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top