Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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 [-c ConfigFile] [-h|-?] [-i User/Password[@Host[/Port] [,Host[/Port] [,...]]] [-q] [-l HomeLocation] {-p "Var=Value"} [-t ConnectionInitTimeout] [-u RequestTimeout] [-v] [-z] [-f] (automated | manual | stop)

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.
The -u option default for the pscontrol command is 0 seconds.

-f

Forces the command to run without prompting the user to verify the execution of the command

stop

Stops the Publishing Server

Note

The pscontrol stop command does not stop the Publishing Server service in the Microsoft Windows Services screen. To avoid this problem, use the pw process end pserver command.

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

Example
$ pscontrol stop
Copyright 2005-yyyy BMC Software, Inc. as an unpublished work. All rights reserved.
Please confirm control command (stop) (type y (yes) / n (no). Default is n): y
Publishing Server is stopping 

The following figure contains an example of the pscontrol automated command, which restarts automated publishing.

pscontrol automated example

Example
pscontrol -f automated
Copyright 2005-yyyy BMC Software, Inc. as an unpublished work. All rights reserved.
Automated publishing is starting

The following figure contains an example of the pscontrol automated command using the -u option.

pscontrol automated -u example

Example
pscontrol -f -u 300 automated
Copyright 2005-yyyy BMC Software, Inc. as an unpublished work. All rights reserved.
Automated publishing is starting
Automated publishing is started

The following figure contains an example of the pscontrol manual command, which stops automated publishing.

pscontrol manual example

Example
pscontrol manual
Copyright 2005-yyyy BMC Software, Inc. as an unpublished work. All rights reserved.
Please confirm control command (manual) (type y (yes) / n (no). Default is n): y
Automated publishing is stopping

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*