Opening Capsule from Command line form different folder

Hi all,

we are using a capsule for out datareader procedures.
This capsule will be opened via command line every night. This works fine.
Now we want to shift this capsule from C:\Board\Capsules to the folder C:\Board\Capsules\Administration.
But when we do this, we cannot open this capusel from command line.

 

Any ideas how to run a capsule from command line in a specific folder?

 

Regards,
Jörn

Answers

  • Dear Jörn Constabel,

     

    opening capsule from specific folder is pretty easy. In the following sample I will open the capsule Nexel.cpsx from sub folder \board\capsule\tickets:

     

    "C:\Program Files (x86)\Board\Board Client\boardwinclient.exe" /host "localhost:9700" /username %User% /password %PW%  /capsule "Tickets\Nexel.cpsx"

     

    Another question from my side, when you talk about nightly run and datareaders, why you don´t user BOARD procedurelauncher instead the capsule call from the command line?

     

    Hope it helps.

     

    regards

     

    Alexander Kappes

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    50 Answers 500 Comments 250 Likes Fourth Anniversary

    Hi Jörn Constabel,

     

    what do you mean by "we cannot open this capusel from command line"? Do you start the capsule from within a batch file or directly? Did you get any system messages Windows/BOARD?

    Does the user context have the necessary file-system rights?

     

    Kind Regards,

    Helmut

  • Thanks Helmut Heimann and Alexander Kappes

     

    We are using a batch file which was recommended to us in the BAORD training. 

    In the mentioned capsule we have one procedure which will be triggered by the opening trigger of the start screen of this capsule. 

    From our administration point of view, it is easy to handle as we have one procedure which must be administer.


    Is there another way to start night jobs by using the procedure launcher? Is there an advantage by using the procedure launcher?


    Regards

    Jörn

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    50 Answers 500 Comments 250 Likes Fourth Anniversary

    The procedure launcher doesn't need any capsule to be opened...

    But, it can only start database procedures--so, as long as your loading procedures are database procedures (which I presume, they are) the procedure launcher will be the best way to achieve your aim ;-)