46
Related commands
nqa server enable
nqa schedule
Use
nqa schedule
to configure scheduling parameters for an NQA operation.
Use
undo nqa schedule
to stop the operation.
Syntax
nqa schedule
admin-name
operation-tag
start-time
{
hh
:
mm
:
ss
[
yyyy/mm/dd
|
mm/dd/yyyy
] |
now
}
lifetime
{
lifetime
|
forever
} [
recurring
]
undo nqa schedule
admin-name
operation-tag
Default
No schedule is configured for an NQA operation.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
admin-name operation-tag
: Specifies an NQA operation by its administrator name and operation tag.
The
admin-name
argument represents the name of the administrator who creates the NQA operation.
The
operation-tag
argument represents the operation tag. Each of the arguments is a
case-insensitive string of 1 to 32 characters that cannot contain hyphens (-).
start-time
: Specifies the start time and date of the NQA operation.
hh
:
mm
:
ss
: Specifies the start time of an NQA operation.
yyyy/mm/dd
: Specifies the start date of an NQA operation. The default value is the current system
time, and the value for the
yyyy
argument is in the range of 2000 to 2035.
mm/dd/yyyy
: Specifies the start date of an NQA operation. The default value is the current system
time, and the value for the
yyyy
argument is in the range of 2000 to 2035.
now
: Starts the operation immediately.
lifetime
: Specifies the duration of an operation.
lifetime
: Specifies the duration of an operation in seconds, in the range of 1 to 2147483647.
forever
: Performs the operation until you stop it by using the
undo nqa schedule
command.
recurring
: Runs the operation automatically at the start time and for the specified duration.
Usage guidelines
You cannot enter the operation view or operation type view of a scheduled NQA operation.
Specify a lifetime long enough for an operation to complete.
Examples
# Schedule the operation with the administrator name
admin
and operation tag
test
to start on
08:08:08 2008/08/08 and last 1000 seconds.
<Sysname> system-view
[Sysname] nqa schedule admin test start-time 08:08:08 2008/08/08 lifetime 1000 recurring