Job - execute
Job - execute
Description :
This command executes a job and returns immediately without waiting for the job to end. If approval is enabled for the job type, use the executeWithApproval command instead.
Return type : void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
jobKey | DBKey | Handle of the job to execute. |
Example
The following example executes a Snapshot Job.
Script
JOB_KEY=`blcli SnapshotJob getDBKeyByGroupAndName /snapshots tstSnap`
blcli Job execute $JOB_KEY
blcli Job execute $JOB_KEY
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*