Configuring The Cron Task - IBM BJ0NJML - Service And Asset Management Integration Manual

Integration guide
Table of Contents

Advertisement

Configuring the Cron Task

Configuring the Cron Task
188
The interface table cron task, the data import cron task, and the Java Message
Service (JMS) queue cron task are cluster-aware functions. By default, the cron
task framework runs a task on a randomly chosen server.
If you want to configure your cron task to run on a specific application server
within your cluster, configure the cron task as shown in the following example.
The name of the cron task instance is instance1.
1
In the Cron Task Setup application, set the TARGETENABLED property for
instance1 to 1.
2
In the application server1 setup, set the
–D crontaskname.instance1 to 1, and restart the server.
In this configuration example, the task is not pushed to another server if the
targeted server stops. To replace a stopped server, set the –D
crontaskname.instance1 value to 1, then restart the application server that resumes
the polling.
To configure a group of servers to support failover, set the
–D crontaskname.instance1 value to 1 in each server. The integration framework
prevents more than one instance of the cron task from running at the same time.
Integration Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents