I have a Process Flow that is controling a series of programs and the timing of their execution that runs on a UNIX server. It works fine up to a point.
I have a Java program on a virtual Windows server that reads my Oracle tables and generates a collection of .pdf files via a Crystal Report template. This java program is created as a .jar file, so it is complete and if I type the file name at the DOS prompt it works great.
The problem is how to remote into the Virtual Windows server from the UNIX server, change directory, and execute the Java program.
I was looking at using;
exec { 'D:\Eclipse\EdiInvoice.jar' } 'HEAD', $url;
The problem with that is that I need more than the 'url' - I also need the user id and password.
Does anybody have an ideas??
I have a Java program on a virtual Windows server that reads my Oracle tables and generates a collection of .pdf files via a Crystal Report template. This java program is created as a .jar file, so it is complete and if I type the file name at the DOS prompt it works great.
The problem is how to remote into the Virtual Windows server from the UNIX server, change directory, and execute the Java program.
I was looking at using;
exec { 'D:\Eclipse\EdiInvoice.jar' } 'HEAD', $url;
The problem with that is that I need more than the 'url' - I also need the user id and password.
Does anybody have an ideas??