I want to build a simple script wrapper to run on multiple machines to queue up jobs evenly across the machines. I would like to enqueue a job on the machine with the shortest estimated queue left, or dormant machines. For this, I need to know by CLI if it is encoding, and if so, how long does it have left.
I want to build a simple script wrapper to run on multiple machines to queue up jobs evenly across the machines. I would like to enqueue a job on the machine with the shortest estimated queue left, or dormant machines. For this, I need to know by CLI if it is encoding, and if so, how long does it have left.