I am working with a blcli script tied to a php web front end. The php front end calls to the blcli (NSH) script which executes various blcli commands and returns the information to the php front end.
I am wanting to know if it is possible to execute the script repeatedly but somehow cache the blauth connection so that I don't have to go through the "blcred, blcli_connect" stanza over and over again. My intention for this is that I want to cut down on the amount of time it takes for my blcli commands to execute by avoiding the authentication steps.
When I try to do this now, I end up with a "No authentication profile specified error upon the execution of the script without the authentication stanza.
In my perfect world:
I saw that "bltray" does this but I am not sure I can actually do that from the command line or on linux.
you should look at making web service calls instead of blcli_execute from php.
there was a 'blcli server' but i'm not sure if that works anymore - i think we ditched that in favor of the performance commands.