[ovirt-users] ovirt-shell : Smart way to run a cmd WHEN another is finished?

Nicolas Ecarnot nicolas at ecarnot.net
Fri Apr 1 07:40:03 UTC 2016


Hello,

I'd like to night-batch series of actions through some ovirt-shell scripts.
Amongst those actions, some are taking a very long time and are treated 
asynchronously by oVirt. (That may be exports, imports, snapshots, boot, 
shutdown...)

Thus, after having send that long command, I've to find a way to know 
when to send the next one.

I could script a kind of regular status check at determined interval, 
but I was wondering if there is a smarter way? (because my dumb way 
would imply for each check a connection. That looks heavy.)

Thank you.

-- 
Nicolas ECARNOT



More information about the Users mailing list