Invoking an executable program from a remote machine
-
Hi all, I'm working with a database application in which the data base is located in a remote machine(Machine 1).The application which makes use of that data base is running on a remote machine(Machine 2).Both computers are running under Windows 2000 and are connected in LAN.I would like to clear my database(The database located in machine 1) once in a month by running an exe in that machine.How can i invoke another executable program(program for backing up the data base) which is located in machine 2 when the data base clearing program in machine 1 is just started.Can any one help me?. With regards. Shibu K.V. Senior Research Associate. VLSI ASIC Hardware Design Group Electronics R&D Centre,Trivandrum India
-
Hi all, I'm working with a database application in which the data base is located in a remote machine(Machine 1).The application which makes use of that data base is running on a remote machine(Machine 2).Both computers are running under Windows 2000 and are connected in LAN.I would like to clear my database(The database located in machine 1) once in a month by running an exe in that machine.How can i invoke another executable program(program for backing up the data base) which is located in machine 2 when the data base clearing program in machine 1 is just started.Can any one help me?. With regards. Shibu K.V. Senior Research Associate. VLSI ASIC Hardware Design Group Electronics R&D Centre,Trivandrum India
There is no existing infrastructure in place currently to invoke a program at the remote machine. Wait there is one way, Use the Task Schedular API. But make sure that the remote exe is scheduled to a future time and that it does not have a UI. Or you could always use a Service and keep listening on a specified port.
-
Hi all, I'm working with a database application in which the data base is located in a remote machine(Machine 1).The application which makes use of that data base is running on a remote machine(Machine 2).Both computers are running under Windows 2000 and are connected in LAN.I would like to clear my database(The database located in machine 1) once in a month by running an exe in that machine.How can i invoke another executable program(program for backing up the data base) which is located in machine 2 when the data base clearing program in machine 1 is just started.Can any one help me?. With regards. Shibu K.V. Senior Research Associate. VLSI ASIC Hardware Design Group Electronics R&D Centre,Trivandrum India
-
Most database applications have ablility to schedule tasks and jobs, so why write an application to do it?
use the Sheduletask API or write a service Renjith-CPian.