< Home

shutdown script-assistant

Function

The shutdown script-assistant command stops a Python script assistant.

The undo shutdown script-assistant command starts a Python script assistant.

By default, the Python script assistant is started.

Format

shutdown script-assistant script-name

undo shutdown script-assistant script-name

Parameters

Parameter

Description

Value

script-name

Specifies the name of a Python script assistant, namely, a Python script name for a script assistant.

The value must be the name of a script file for which the script assistant has been configured.

Views

OPS view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To prevent a Python script of an assistant from running, run the shutdown script-assistant command to stop the Python script assistant.

Precautions

Stopping a running assistant interrupts the task of the assistant. Exercise caution when you perform this operation.

Example

# Stop a script assistant for the script config.py.

<HUAWEI> system-view
[HUAWEI] ops
[HUAWEI-ops] shutdown script-assistant config.py
Info: Succeeded in stopping script assistant config.py.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic