I have absolutely no idea if what I want is possible so I thought I would ask for ideas - or even solutions - if you know how I might achieve what I want.
And this is a bit long - because I’m also including the steps I have tried - in case there is a solution for “that” part - as opposed to the whole;
I have started with 3 separate BATCH files.
App1.bat App2.bat App3.bat
Each one calls box with a recipe.
cd c:\inetpub\wwwroot\App1\ box recipe startApp1.boxr
I then created a startALLServers.bat
that just calls the individual batch files.
call App1.bat call App2.bat call App3.bat
If I only / want need App1’s Lucee server up and running I use;
If I want all 3 of my App’s Lucee servers up and running - I use;
But the issue is could be faster.
While I know starting up a Lucee server isn’t instantaneous,
I THINK it could still be faster, for me, if I didn’t start and exit “box” 3 times.
so I tried
where startAllServers.txt is;
cd c:\inetpub\wwwroot\App1 recipe C:\Users\gavin\Desktop\Centra\LocalBatchFiles\startApp1.boxr cd c:\inetpub\wwwroot\App2 recipe C:\Users\gavin\Desktop\Centra\LocalBatchFiles\startApp2.boxr cd c:\inetpub\wwwroot\App3 recipe C:\Users\gavin\Desktop\Centra\LocalBatchFiles\startApp3.boxr
but this fails with;
variable [RECIPE] doesn’t exist
But if I run;
It prompts for a recipe file? so I THOUGHT it SHOULD work.
When I pass in the full path to the recipe as prompted, I actually get the same error - which seems like a BUG - am I doing something wrong?
Ultimately, I am not sure if I have a BATCH programming issue or a BOX usage issue.
As I try things : I’ll update the thread
Thanks in advance for any thoughts you might have.