Automating the task in two environments

Hi all,
I have a task which need to be done in two test environment.both the script does the same work.i am plannig to automate that like writing a perl program to execute the script in parallel in both the test environment.i am able to call the unix script from the using in both the environment using
exec("scrit name");

but need to merge these task into a single.Could you kindly help me in merging the script to one

Give more clue first, then people will see if they can do something for you
:slight_smile:

I have a script for house keeping - housekeep.ksh which run in two servers test1 and test 2.

i am currenly logging in each server and executing them manually.
i need to create a perl scriping in any of the server so that the script are run in parallel on both the servers.

i have created a perl script in test 1 to call the script housekeep.ksh using exec("script name"); now i want to execute the script in test 2 from test 1. i.e. the perl script in test 1 should include the command to execute the script in test 2

is it possible?

Why don't you simply run it via rsh or ssh ?