Skip to content

Extended options for server scripts

Some scripts require applications to be called that are only available in compiled form. If a script runs into a timeout, it can be advantageous to be able to see any messages from third-party software.

As the script is executed by the octoplant service, these messages are not displayed under normal circumstances.

In order to be able to display the messages of the third-party software, the VDog MasterService can be terminated and restarted under the current Windows user.

Prerequisites

  • Short-term system failures of the server are not a problem.
  • Login to the server is possible.

Procedure

  1. Stop the service.
  2. Copy the complete command line in the VDog MasterService Properties dialog.

    Figure: VDog MasterService properties

  3. Example:

    C:\Program Files (x86)\vdogServer\VDogMasterService.exe" "/RD:D:\vdServerArchive" /AT:S
    
  4. Start the command promt with administrative rights.

  5. Paste the copied command line and append the string /App /Visible.

    C:\Program Files (x86)\vdogServer\VDogMasterService.exe" "/RD:D:\vdServerArchive" /AT:S /App /Visible
    
  6. Start the service.

The service should now run under the current user account and a dialog without content should be displayed. This dialog must not be closed, as the service will be terminated in this case.

If the script is now executed, all otherwise visible dialogs are also displayed.