Skip to content

Run a Command

From the Server form

  • Open the Server form
  • Click the Run Command button

Server form run command

From the Server kanban card

  • Select the Server in the kanban view
  • Click the ... (three dots) menu
  • Click Run Command

Server kanban card run command

From the Servers list

This method allows you to run a command on multiple servers at once.

  • Switch to the List view
  • Select the Servers you want to run the command on
  • Open the Action menu
  • Click Run Command

Servers list run command

Command Wizard

After the Run Command is triggered, the Command Wizard will open.

Command Wizard

Fields

Field Description
Run on List of Servers to run the command on.
Show Commands Filter selectable commands. For selected server(s) will show Commands with selected servers in the "Servers" field. Non server restricted will show Commands with no servers in the "Servers" field.
With tags Show only commands with selected Tags.
Command > Action Pick up the Command action to filter commands by.
Command > sudo If enabled, the command will be run with sudo based on the Server Use sudo setting. This option is available only for SSH commands action.
Command > Command Command to run. Leave this field empty to run a custom command.
Path Custom path to run the command. This option is available only for SSH command and overrides the Default Path setting of the selected command.
Note Displays the command note for user convenience.
Code Code to execute. It is populated from the selected command or can be entered manually when no command is selected.

Configuration Values

Configuration Values

Allows modifying the Configuration Values pulled from the server settings, enabling a more flexible command execution process.

Note

This tab is visible only if a command is run on a single server and the code contains Configuration Variables.

Preview

Preview

Shows the code rendered with the configuration values.

Note

This tab is visible only if a command is run on a single server.

Buttons

Run

Runs the command on the selected server with a command log record created. When the Cetmix Tower Server Queue module is installed, the command is run in the background.

Warning

If you modify the command code in the Code field, and then click Run, the command will be executed with the original code of the selected command.

Run in wizard

Runs the command and shows the command output directly in the wizard. No command log record is created. Use this option to run custom commands.