pscontrol
Use the pscontrol command to send a command (automated, manual, stop) to the Publishing Server.
By default, pscontrol sends the command only to the Publishing Server. To monitor that the mode effectively changed to automated or manual, you can use the -u option.
pscontrol syntax
pscontrol command options
The following table lists the options for the pscontrol command. No command options are required for the pscontrol command.
pscontrol command options
Options | Description |
---|---|
<common options> -c -h -i -q -l -p -t -u -v -z | See Common-command-options-for-Publishing-Server-CLIs. |
-f | Forces the command to run without prompting the user to verify the execution of the command |
stop | Stops the Publishing Server |
automated | Turns automated publishing on |
manual | Turns automated publishing off |
pscontrol examples
This section contains examples of using the pscontrol command.
The following figure contains an example of the pscontrol stop command, which stops the Publishing Server:
pscontrol stop example
The following figure contains an example of the pscontrol automated command, which restarts automated publishing.
pscontrol automated example
The following figure contains an example of the pscontrol automated command using the -u option.
pscontrol automated -u example
The following figure contains an example of the pscontrol manual command, which stops automated publishing.
pscontrol manual example