GMSSH Product ManualGMSSH Product Manual
Changelog
Official Site
  • 简体中文
  • English
Changelog
Official Site
  • 简体中文
  • English
  • 📖 Documentation

    • Product Overview
    • Introduction
    • Quick Start
    • GMSSH Client

      • Machine Management
      • Command Center
      • Terminal
      • Batch Tasks
      • Settings
    • GMSSH Desktop

      • Built-in Apps
      • App Center
      • Docker Manager
      • PHP Manager
      • MySQL Manager
      • Nginx Manager
      • Site Manager
      • Firewall Manager
      • WAF Firewall
      • Redis Manager
      • Proxy Manager
      • VPN Manager
      • Source Manager
    • Gemius AI
    • FAQ

Batch Tasks

Batch Tasks is the GMSSH Client's multi-machine command execution and task management center. It supports dispatching commands or scripts to multiple servers simultaneously, with real-time tracking of execution status and results per machine. Ideal for batch inspections, unified configuration, service restarts, and other cross-machine operations scenarios.

Batch Tasks

Core Features

FeaturePurposeCore Capabilities
Task ListTask OverviewSearch, time sorting, status and result statistics
Batch ExecutionTask CreationNew command/script/Command Center — three sources, multi-machine selection
Task DetailsExecution TrackingPer-machine results, status filtering
Execution LogsResult ViewingCommand output details, log download

Task List

The main interface displays all batch execution task history in a table, with search by task name.

List Fields

FieldDescription
TaskTask name and icon
Start TimeTime the task was created and started
StatusCurrent task status
ResultsExecution result statistics: 🟢 Succeeded / ⚠️ Stopped / 🔴 Failed
ActionsView logs, copy, re-execute, and other quick actions

Task Status

StatusColorDescription
In ProgressBlueTask is executing, not all machines completed
CompletedGreenAll target machines have finished execution

In Progress Status

Search

The top search box supports filtering the task list by task name.

Batch Execute Commands

Click the action button at the top-right to open the "Batch Execute Commands" dialog and create a new batch task.

Batch Execute Commands

Basic Configuration

FieldDescriptionConstraints
Task NameDisplay name for this batch taskMax 20 characters
Select MachinesChoose target machines for execution, supports multi-selectMulti-select dropdown

Execution Content

Three ways to specify the content to execute:

SourceDescription
>_ New CommandWrite commands directly
📄 New ScriptWrite multi-line scripts
SH Command CenterSelect saved commands from the Command Center
  • When selecting from Command Center, displays "Selected: command name" with script preview and a "Reselect" option.

Note

Interactive commands, dynamic commands, and interactive scripts cannot be batch executed.

Execution Parameters

FieldDescriptionDefault
TimeoutCommand execution timeout per machine60 seconds
Save as Common CommandCheck to save this command to the Command CenterUnchecked
  • Click "Execute Now" to start batch dispatching commands.
  • Click "Cancel" to discard the task.

Task Details

Click a task row in the task list to view per-machine execution results.

Task Details

Task Overview

The top of the details page displays:

  • Task Name & Status: e.g., "Query Port 1(2) Completed".
  • Executed Command: Shows the full command executed.
  • Result Filter Tabs: Filter the machine list by status:
TabDescription
AllShow all target machines
🟢 CompletedSuccessfully executed machines
⚠️ StoppedMachines where execution was aborted
🔴 FailedMachines where execution failed

Machine Execution List

FieldDescription
MachineTarget machine IP or name, with left dot indicating online status
ResultExecution result on this machine (Completed/Failed/Stopped)
ActionsView logs, copy results, and other action buttons

View Logs

Click the "View Logs" icon on a machine row in the task details to open a log viewer showing the complete command output on that machine.

View Logs

  • Log Content: Displays the standard output of the command on that machine.
  • Download: Click "Download" to save the log as a local file for archiving and sharing.
Last Updated: 3/20/26, 12:11 PM
Contributors: xiarui
Prev
Terminal
Next
Settings