Hello,

Is there any way to execute scripts sequentially, with an order, one
after the other? Something like a field "executionID":

check program ....
if status != 0 exec "scriptA.sh" executionID=1
if status != 0 exec "scriptB.sh" executionID=2 #Execute after scriptA
if status != 0 exec "scriptC.sh"executionID=3 #Execute after script B

I know that I can create a globalscript "scriptABC.sh",  but using an
ordered field would be helpful.
Thanks.

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to