I am trying to use Remote Execution to copy a file.
MachineJ is the visualCron machine.
MachineA is the archive machine. This is the machine that will have the script executed on it. It executes on this machine because we have a rule that all file copies we read shares and write to local.
MachineS is the source machine of the file we want to copy.
One MachineJ I have REmote Execute configured for:
Host name = MachineA
Command = \\MachineA\d:\Some\Path\somescrt
On MachineA I have as script: D:\Some\Path\somescrt.bat
that looks like this:
ROBOCOPY \\MachineS\Another\Path\SomeImportantFile.pdf \\MachineA\Archive\Folder
When I run it visualcron just executes forever so I kill the job.
Here are my questions:
1. How can I configure this properly.
2. It does not make sense to me that I have to specify the UNC for the Command. I would expect to command to be relative to MachineA.
3. Could you explain the mechanism by which this works? I want to develop an intuition for the proper use case for remote execution and its limitations.
4. I am running this to copy files to our archive machine efficiently so I want to make sure that the network traffic of the copy is strictly between MachineS and MachineA.