task: Task Management

The task utility is used to work with tasks.

Usage

plesk ext plesk-multi-server --task <command> [ <options> ... ]

Example

plesk ext plesk-multi-server --task --list -status 'running' -customer-id 98 -node-id 1 -hide-header

Commands

Command Parameter Description Example

--list

 

List the tasks.

plesk ext plesk-multi-server --task --list

--get-last-id

 

Get the identifier of the last task.

plesk ext plesk-multi-server --task --get-last-id

--status

 

Get the status of the specified task.

plesk ext plesk-multi-server --task --status -id <task_id>

--help

 

Display help on this utility.

plesk ext plesk-multi-server --task --help

Options

Option Parameter Description Example

-id

<id>

Task identifier.

plesk ext plesk-multi-server --task --status -id <task_id>

-status

'new' | 'queue' | 'running' | 'done' | 'error' | 'prepare queue' | 'prepare running' | 'waiting' | 'blocked'

Task status.

plesk ext plesk-multi-server --task --list -status 'running'

-customer-id

<id>

Customer identifier.

plesk ext plesk-multi-server --task --list -status 'running' -customer-id <customer_id>

-subscription-id

<id>

Subscription identifier.

plesk ext plesk-multi-server --task --list -status 'running' -subscription-id <subscription_id>

-service-plan-id

<id>

Service plan identifier.

plesk ext plesk-multi-server --task --list -status 'running' -service-plan-id <service_plan_id>

-node-id

<id>

Service node identifier.

plesk ext plesk-multi-server --task --list -status 'running' -node-id <node_id>

-hide-header

 

Do not output column names.

plesk ext plesk-multi-server --task --list -status 'running' -node-id <node_id> -hide-header