Bertrand and team,
I also have the same request/problem...
from \inetpub\wwwroot\<site name>\bin folder if I would lik to execute the series of commands like this -
Orchard.exe recipes execute Orchard.Setup <recipe name1>
Orchard.exe recipes execute Orchard.Setup <recipe name2>
Orchard.exe recipes execute Orchard.Setup <recipe nameN>
It seems that all those recipes would not execute sequentially - one after another, but rather
asynchronously. Am I right?
That’s why I would like to capture the moment when the “recipe name1” would finish execution. I don’t believe the “orchard.exe execute recipes” shell command would give me a “status
code” of success/failure of the “recipe name1” execution. Does it?
I was wondering if I would able to capture the end point and status of execution by parsing the journal instead (if the “status code” is not available?...
I do see the recipes journal at this location – \src\Orchard.Web\Media\Default\RecipeJournal\
But the journal entries there are a GUID-based, like this –
“ba7291fb4b0d4e60a626eaddd0c3f391” which has no correspondence to my “recipe name1.xml” I was trying to execute.
And the text inside doesn’t give much info about what recipe file was executed either –
<Message>Executing step Feature.</Message>
<Message>Executing step Metadata.</Message>
<Message>Executing step Settings.</Message>
<Message>Executing step Migration.</Message>
<Message>Executing step Command.</Message>
Is there any way I can achieve my goal – to know when the particular recipe file execution has finished? How? I would appreciate your answer/help.