PipelineFX Forum

Qube! => Jobtypes and Applications => Topic started by: josh on November 29, 2007, 05:20:52 AM

Title: Running the same job on each host.
Post by: josh on November 29, 2007, 05:20:52 AM
If I wanted to use Qube to extract information via CLI from Windows or Linux clients how would I ensure that the commands I sent would be run once on each computer, instead of distributing the job?

example, if i wanted to do tasklist > %computername%.txt on each host.

Cheers,
Josh
Title: Re: Running the same job on each host.
Post by: eric on November 29, 2007, 09:56:32 PM
If you submit a command line job with the qbsub "host_list" flag, it will run on all the hosts/host groups specified. If you don't specify any hosts, it will run on all the hosts in the farm.

qbsub -flag host_list -host render01 ...

runs on render01

qbsub -flag host_list render01 ...

runs on all hosts

http://support.pipelinefx.com/wiki/index.php/Qube_Knowledge_Base#How_do_I_run_the_same_job_on_every_host.3F
Title: Re: Running the same job on each host.
Post by: josh on November 30, 2007, 07:23:20 PM
Awesome thanks!