You can configure Task Manager to work with custom tasks from other components or
applications.
About this task
Custom tasks that are scheduled by Task Manager can be located locally on the file system or
remotely.
For more information on using Task Manager with other components, see the IBM Documentation for Content Navigator.
Procedure
- Before each subsequent step, create a JAR file of your custom tasks that you want to add
to Task Manager.
- Local only. Save the JAR file to the
<external_volume_path>/extTM directory in your Task
Manager environment.
- Remote only. If you did not update the CR yaml file with the Task Manager
TM_JOB_URL parameter, do these instructions.
Add the
TM_JOB_URL environment variable to specify a URL where the Task
Manager job implementation is available. If an operator deployed Task Manager, you can introduce the
environment variable through the OCP console. Otherwise, you can add the variable through a command line.
- An example of a single URL is,
https://hostName:portNumber/name_Of_Jar.jar
- Multiple URLs are separated by a semicolon. An example is
https://hostName1:portNumber/name_Of_Jar1.jar;https://hostName2:portNumber/name_Of_Jar2.jar
Note: If you configure Task Manager to process local and remote tasks, do not use the same JAR file
at both locations.
What to do next
See the IBM Content Navigator information on how to use the custom
tasks in Task Manager.