title: How to stop CACHE instance from Shell Script
body: <p>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 <code>restart_cache</code>.</p>
  
  <pre><code>restart_cache()
  {
   ccontrol stop instancename restart
  }
  </code></pre>
  
  <p>This command is running but the control goes to cache and while stopping cache it gets stuck waiting for an answer here:</p>
  
  <pre><code>Do you want to broadcast a message to anyone? No =&gt;
  </code></pre>
  
  <p>How can I pass the value here through shell script</p>