Deploying Task Agent customizations
The C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\taskagent directory contains Task Agent-specific configuration files and scripts and macros for job execution. After modifying existing files or adding new files, you need to deploy the changes. Run C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\clntwin\mmbuild.bat to rebuild ModelManagerSetup.exe.
The server requires the taskagent files for processing job schedules. The client uses the taskagent files to build the user interface components and to execute Plot Now jobs.
* 
Files in the taskagent directory should always be modified, added, or removed on the server and then deployed to clients. The taskagent directories on clients and the server must be in sync, otherwise the system may not behave as expected.
Changes in the taskagent directory require a restart of the Service Controller. After a restart, see C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\logs\JobScheduleProcessorConfig.log to check for job configuration problems.
To make customization changes to a Task Agent macro:
1. Edit the macro file on the Software Distribution Server. If the Software Distribution Server and the Service Controller are not on the same machine, synchronize the files before continuing.
2. On the Software Distribution Server, run mmbuild.bat (C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\clntwin\mmbuild.bat). This creates a new ModelManagerSetup.exe file in the C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\Apache\htdocs directory.
As clients restart Creo Elements/Direct Model Manager, it downloads the new customization to their system.
To make global changes to a configuration:
1. Edit or create a new XML file on the Software Distribution Server. If the Software Distribution Server and the Service Controller are not on the same machine, synchronize the files before continuing.
2. On the Software Distribution Server, run mmbuild.bat (C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\clntwin\mmbuild.bat).This creates a new ModelManagerSetup.exe file in the C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\Apache\htdocs directory.
As clients restart Creo Elements/Direct Model Manager, it downloads the new customization to their system.
Was this helpful?