< Home

perform batch-file

Function

The perform batch-file command configures the operation of a maintenance assistant task.

The undo perform command cancels the operation of a maintenance assistant task.

By default, no operation of a maintenance assistant task is configured in the system.

Format

perform priority batch-file file-name

undo perform priority

Parameters

Parameter Description Value

priority

Specifies the operating priority of a maintenance assistant task.

The value is 1.

file-name

Specifies the name of a batch file.

*.bat file.

NOTE:

The value of this parameter must not contain file directory information, and the file specified by this parameter must be in the root directory of the user/bat folder.

Views

Maintenance assistant view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After you create a maintenance assistant task and schedules a specific time, this command can be used to configure the device to execute the operations at the specific time.

Prerequisites

You have created a maintenance assistant task using the command and the time for task execution has been set.

Example

# Configure the operation of a maintenance assistant task.

<sysname> system-view
[sysname] assistant task test
[sysname-assistant-task-test] if-match timer cron * 0 20 4 5 * 2012
[sysname-assistant-task-test] perform 1 batch-file system.bat
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >