Configuration Mode Commands : SteelHead Configuration Commands : Job Commands : job command
  
job command
Schedules CLI command execution for a specified time in the future.
Syntax
[no] job <job-id> command <sequence #> "<cli-command>"
Parameters
<job-id>
Job identification number.
<sequence #>
Sequence number for job execution. The sequence number is an integer that controls the order in which a CLI command is executed. CLI commands are executed from the smallest to the largest sequence number.
"<cli-command>"
CLI command. Enclose the command in quotation marks (").
Usage
A job includes a set of CLI commands and a time when the job runs. Jobs are run one time only, but they can be reused.
Any number of CLI commands can be specified with a job and are executed in an order specified by sequence numbers. If a CLI command in the sequence fails, no further commands in the job are executed. A job can have an empty set of CLI commands.
The output of all commands executed are viewable after job execution by running the show job <job-id> command. The output of each job is only available for the last run; it is rewritten upon each execution.
The job output and any error messages are saved. Jobs can be canceled and rescheduled.
The no job <job-id> command <sequence #> command deletes the CLI command from the job.
The no job <job-id> command option removes all statistics associated with the specified job. If the job has not executed, the timer event is canceled. If the job was executed, the results are deleted along with the job statistics.
Example
amnesiac (config) # job 10 command 1 "show info"
amnesiac (config) # job 10 command 2 "show connections"
amnesiac (config) # job 10 command 3 "show version"
Product
Controller, Mobile Controller, SteelHead CX, SteelHead EX, SteelHead-v, SteelHead-c, SteelHead Interceptor
Related Commands
show job, show jobs