HP StorageWorks Enterprise File Services WAN Accelerator 2.1 Command Line Interface Reference Guide (November 2005)
102 4 - CONFIGURATION-MODE COMMANDS
Syntax job <job-id> date-time-pairs <hh>: <mm> [<ss>] | [<date>]
Parameters
Example
minna (config) # job 10 date-time-pairs 04:30:23
minna (config) #
job enable
Description Enables CLI command execution (that is, a job) for a specified time in the future. The
job is comprised of a set of CLI commands and a time when the job will run. Jobs are
run one time only, but they can be reused.
The results of job execution (the output and any error messages) are saved. Jobs can
be canceled and rescheduled. In either of these cases, any previous output or error
messages are cleared and the job state is set to either inactive (if canceled) or pending
(if rescheduled).
Jobs are created by issuing any command that sets an attribute of the job. A job is set
to the pending state when a time in the future is specified. A job can have an empty
set of CLI commands.
An arbitrary number of CLI commands can be specified with a job and are executed in
an order specified by the sequence numbers. If a CLI command in the sequence fails,
no further commands in the job are executed. The output of all commands executed are
saved to a file in a specified directory. The output of each command is simply appended
to the file.
The no command option disables jobs.
Syntax job <job-id> enable
Parameters
Example
minna (config) # job 10 enable
minna (config) #
job execute
Description Forces an immediate execution of a job. The timer (if set) is cancelled and the job is
moved to the completed state.
Syntax job <job-id> execute
<job-id> Specifies the job identification number.
<hh>: <mm> [<ss>] |
[<date>]
Specifies the date and time for the job to execute. An hour and
minute must be specified; optionally, you can specify seconds or the
date.
<job-id> Specifies the job identification number.