AWS Thinkbox Discussion Forums

Command task on each slave.

Hi,



Is it possible to execute a DOS command on each slave machine.



I just want the task to execute once on each slave, and every slave in a pool.



This task needs to copy some files that need to be on each slave machine.



Mathew Foscarini

Technical Director

Crush, Inc.

Toronto

Right-click on the slaves in the Monitor while in Super User mode and

select Remote Control -> Exec Command.



If you’re running a batch file or executable, specify the filename (must

be accessible by all slave machines).



To execute a DOS command, the command must be preceded with “cmd /C”,

which opens the DOS prompt, executes the command, and closes the prompt.

For example:



cmd /C echo “foo” > c:\test.txt





Cheers,

Privacy | Site terms | Cookie preferences