I need to send a command from a computer to another computer (both running in CentOS). It has to be automated so I need to make a script or a program to do this.
Let’s say for example, COMPUTER A will send this command to COMPUTER B
python insertDB.py
when COMPUTER B receives this, It needs to automatically run the command sent by COMPUTER A.
how do I do it? Is it possible to do it in python in a very simple way?
thanks
Something like this? RPyC : Transparent, Symmetric Distributed Computing