4 Replies Latest reply on Apr 28, 2010 8:43 AM by Joe Smith

    Running batch jobs from BLCLI

      I've used the following to succesfully run Bladelogic jobs:


      JOB_KEY=`blcli DeployJob getDBKeyByGroupAndName "$JOB_FOLDER" "$JOB_NAME"`
      JOB_RUN_KEY=`blcli DeployJob executeJobAndWait $JOB_KEY`


      If I attempt to use the same method to run a batch containing several jobs, I get the following:


      Unknown command : name space = 'DeployJob', command = 'executeJobAndWait'.com.bladelogic.cli.factory.CommandNotFoundException:Found command 'DeployJob.executeJobAndWait' but with mismatching arguments.


      I can't find in the documentation any way of initiating a batch job from BLCLI - is this supported?