Chapter 13 Using jagtool and jagant
Restarts the server to which you are connected.
Command line:
restart
Ant build file:
<jag_restart />
Like all commands, restart requires connection flags at the command line and the jag_connect command in Ant build files (see "Using the jag_connect Command"). restart terminates and restarts the server process that you have connected to.
This example connects to the server eclipse on port 9005, with the user name jagadmin and the password jagpass, and restarts the server.
jagtool -h eclipse -n 9005 -u jagadmin -p jagpass restart
<jag_connect host="eclipse" port="9005" user="jagadmin" password="jagpass" /> <jag_restart />
All jagant commands depend on jag_connect. See "Using the jag_connect Command" for more information about jag_connect.
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |