Author Topic: Running the same job on each host.  (Read 3951 times)

josh

  • Jr. Member
  • **
  • Posts: 9
Running the same job on each host.
« 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

eric

  • Hero Member
  • *****
  • Posts: 229
Re: Running the same job on each host.
« Reply #1 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

josh

  • Jr. Member
  • **
  • Posts: 9
Re: Running the same job on each host.
« Reply #2 on: November 30, 2007, 07:23:20 PM »
Awesome thanks!