Log distribution task of the scheduler

About this task

Some details about the log distribution task of the Remote Control scheduler.

The value "scheduled.interval" contains a value expressed in "scheduled.interval.period" unit of time (mins, hours). This is the amount of time that the scheduler spends sleeping. In the log file, this is reported by the message "Scheduler: Sleeping for ...". After the sleeping time elapses, the scheduler wakes up and checks if there is any task that must be run. The amount of time that defines how frequently a task is run is defined in the table ASSET.TASK of the database, more precisely in the column PERIOD. The value expressed in that column is specified in "scheduled.task.period" (mins, hours) unit of time. The suggested value for "scheduled.interval.period" and "scheduled.task.period" is "mins".

Note: If the value on the PERIOD column is 0, the task is run every time that the scheduler wakes up. That is the amount of time defined in the "scheduled.interval" property. ** .

In order to change the PERIOD for a specific task, you must run the following query:

UPDATE ASSET.TASK  
SET PERIOD=X  
WHERE TASKKEY=Y;

The task key associated to the specific task can be retrieved by running the following query:

SELECT TASKKEY,TYPE,NAME,SCHEDULED,ACTIVE,PERIOD  
FROM TRCDB.ASSET.TASK

For example:

SYNCLDAP
Is the task related to the LDAP synchronization.
LOGDISTN
Is the task related to the log distribution.
CLEANACCESSREQUEST
Is the Access Request Cleanup (Clean expired Access Requests).
Note: Ensure that the value X used in the query is expressed in minutes if "scheduled.task.period"="mins".