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

You can prohibit all or a selected set of instances from running by modifying the maximo.properties file.

Procedure

  1. In the maximo_install\applications\Maximo\properties directory, open the maximo.properties file in a text editor.
  2. Navigate to the section Cron Task Manager property. Copy the line //mxe.crontask.donotrun=crontaskname.instancename and paste it in a new line under the text that you copied.
  3. In the copied line, remove the comment indicators.
  4. Replace the text crontaskname.instancename with the name and instance of the cron task. For example, to disable an instance of the reorder cron task, modify the copied line to say mxe.crontask.donotrun=ReorderCronTask.ReorderCronTask01.
  5. Save your changes.

What to do next

After you change the maximo.properties file, you must rebuild and redeploy the enterprise application archive file.


Feedback