beautypg.com

Scheduling commands, Create a job, Add a comment to a job – HP VMA-series Memory Arrays User Manual

Page 201: Remove job states, Specify an execution time

background image

AM456-9026A

HP VMA SAN Gateway User’s Guide

201

Scheduling Commands

This section provides the syntax for sequences commands, along with an explanation of the

functionality of each command.

A

job

command is most commonly used to schedule jobs (commands or shell scripts) so they run

at certain times or dates. A

job

is similar to a

cron

in a UNIX-like environment, and is often used

to automate system administration.

Create a Job

job command
no job command

Add a CLI command to the job (create the job if it doesn't already exist). The job will be placed in

the "pending" state if a scheduled time has already been specified, otherwise it will be "inactive".

The

is an integer and controls the order within the job as to when the particular

CLI command will be executed. Commands are executed from smallest to largest

.

The

no

command deletes the command from the job.

Add a Comment to a Job

job comment
no job comment

Add a comment to the job for display in

show job

. No other use. The

no

modifier

deletes the comment.

Remove Job States

no job

Remove all states associated with the specified

. If the job has not executed, the timer

event is canceled. If the job was executed, the results are deleted along with all other job state.

Specify an Execution Time

job date-time []
job date-time []

Set the time for the job to execute. If the time specified is in the past, the job will not execute and

will be in the "inactive" state. If the job is currently scheduled and the indicated time is in the past,

the job will be canceled.

This manual is related to the following products: