Configuring the PVS Optimize Utility > Server Controlled Publishing using pvsoptimize > Using pvsoptimizeworker
  
Using pvsoptimizeworker
Users are strongly advised to first test their pvsoptimizebatch configuration before using the pvsoptimizeworker. Troubleshooting pvsoptimizebatch is an easier way of identifying and resolving most issues that will also affect the worker.
The worker script is created in the <setup_directory>, and should be run by the Visualization server when starting the worker.
When configuring the Worker Agent to use this worker, use the following Execute Command:
For Windows:
<setup_directory>/pvsoptimizeworker.bat
In our example, this command is:
/ptc/pvsoptimize_setup/pvsoptimizeworker.bat
For UNIX, the .bat extension is not required, and the command format is:
<setup_directory>/pvsoptimizeworker
Do not use spaces in the setup directory name. In addition, the .bat extension should be used when the worker is on a Windows machine.
To learn about configuring the Worker Agent to use this worker, refer to Visualization Server Definition.