Disabling cron tasks on an application server
Active cron tasks run on all application servers in a sequence. In a multi-server environment, you can disable an instance on one or more servers or server clusters. The ReorderCronTask and the PMWoGenCronTask are process-intensive. If the system server is also the corporate print server, you can disable these two cron tasks to reduce the workload of the server.
About this task
Procedure
- In the maximo_install\applications\Maximo\properties directory, open the maximo.properties file in a text editor.
- Navigate to the section Cron Task Manager property. Copy
the line
//mxe.crontask.donotrun=crontaskname.instancenameand paste it in a new line under the text that you copied. - In the copied line, remove the comment indicators.
-
Replace the text
crontaskname.instancenamewith the name and instance of the cron task that you want to disable.For example, to disable an instance of the reorder cron task, modify the copied line to saymxe.crontask.donotrun=ReorderCronTask.ReorderCronTask01. - Optional:
Copy the line
//mxe.crontask.dorun=crontaskname.instancenameand paste it in a new line under the text that you copied. - Optional:
Replace the text
crontaskname.instancenamewith the name and instance of the cron task that you want to enable.If the same cron task is specified on both the mxe.crontask.dorun property and on the mxe.crontask.donotrun property, the mxe.crontask.donotrun property takes priority, and the cron task will not run. - Save your changes.