Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

SnapshotJob - setDescription


SnapshotJob - setDescription

Description :

This command sets the description for a job. This command returns a handle to the updated job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

The handle to the Snapshot Job.

desc

String

The description for the job.

Example

The following example shows you how to get set the description for a job.

Script


# Name of the existing job.

JOB_NAME="snapshotjob"

# Job group in which Snapshot Job is stored.

JOB_GROUP="/Workspace/Snapshots"

# Get the Snapshot Job DBKey using the above information.

JOB_DBKEY=`blcli SnapshotJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME`

# Set the Snapshot Job description.

JOB_DBKEY=`blcli SnapshotJob setDescription $JOB_DBKEY "Oracle DB Snapshot"`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5