-
Windows Worker Node Command Line Execution
Ok…
We transitioned to running a CatDV Server / Worker Node on a Mac to a PC (Worker Node 4.0.6). I had about 4 or 5 actions in the Mac’s Worker Node and can’t get them working now on the PC. For example, on the Mac I had a Server Query that under the “Conversions” tab would execute the command line:
mkdir -p /Volumes/maxxraid1/CatDV_Previews$p
This worked just great on the Mac. So for the PC I changed it to:
mkdir y:\CatDV_Previews$p
I did this because I assume that Worker is running a cmd.exe session and the mkdir “-P” parameter is not an option under the Windows flavor of this command. So I dropped that and also corrected the path location and slash directions…
However. when the task runs it does not create the directory and in the details of the task (from the task view) I get:
Execute ‘mkdir’: java.io.IOException: Cannot run program “mkdir”: CreateProcess error=2, The system cannot find the file specified
So… accounting for the idea that the variable $p might not be the exact same thing under CatDV Server for Windows as it is in a Mac environment I decide to see if it is the command or the path that is the issue.
So I changed the “Execute command line 2:” under the “Conversions” tab to just:
mkdir
And I get:
Execute ‘mkdir’: java.io.IOException: Cannot run program “mkdir”: CreateProcess error=2, The system cannot find the file specified
I’ve tried other DOS level commands that are supposed to be understood by cmd.exe and I get the same error.
I can’t think what to try next. Maybe I have a fundamental misunderstanding of how this works and what the differences are between the Mac and PC environments. Any help is greatly appreciated.
Jeff