BSA/TSSA:How can I set the Execute Asynchronously option on a NSH Script Job with the blcli ?

Version 6
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BladeLogic Server Automation Suite


    COMPONENT:

    BladeLogic API and BLCLI



    QUESTION:

    How can I set the Execute Asynchronously option on a NSH Script Job with the blcli ?

    User-added image


    ANSWER:

    The solution involves running a couple Unreleased BLCLI Commands.
     

    blcli_execute NSHScriptJob getDBKeyByGroupAndName "/FOLDER/PATH/TO" "THEJOB" blcli_storeenv jobKey blcli_execute Job findByDBKey ${jobKey} blcli_execute Utility storeTargetObject job blcli_execute NSHScriptJob setAsynchronousExecuteOption true blcli_execute Job update NAMED_OBJECT=job
       



     

     


    Article Number:

    000170476


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles