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.

PublishProductCatalogJob - createPublishProductCatalogJob


PublishProductCatalogJob - createPublishProductCatalogJob

Description :

This command creates a Publish Product Catalog Job. You must identify the job group where the job will be created and the name of the job.

Authentication requirement: You must run this command using the BLAdmins role.

This command returns the DBKey of the newly created Publish Product Catalog Job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobName

String

Name of the Publish Product Catalog Job.

groupId

Integer

ID of the job group where this job is stored.

Example

The following example shows you how to create a Publish Product Catalog Job.

Script


# Name of the Publish Product Catalog Job.

PUBLISH_PRODUCTCATALOG_JOB_NAME="PublishProductCatalogJob1"

JOB_GROUP_ID=`blcli JobGroup groupNameToId /PublishProductCatlogJobs`

# Create the Publish Product Catalog Job  using the above information.

PUBLISH_PRODUCTCATALOG_JOB_DBKEY=`blcli    PublishProductCatalogJob createPublishProductCatalogJob $PUBLISH_PRODUCTCATALOG_JOB_NAME $JOB_GROUP_ID`



 

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

BMC Server Automation Command Line Interface 8.5