Example of Purge RecordSyncLog

Using the Purge RecordSynchLog Scheduler process, you can delete record sync log entries.

You can specify the schedule name as PurgeRecordSyncLog in the CronSchedules.xml file.

A Job node can contain more than one job nodes. Each Job node must specify the Job class, the trigger expressions, and a JobPolicy type. The Job class for PurgeRecordSyncLog is com.tibco.mdm.purge.SyncLogPurgeJob.

The following is the sample of the Purge RecordSyncLog process:

<CronSchedules>
  <Schedule>
    <Name>PurgeRecordSyncLog</Name>
    <Jobs>
      <Job>
        <Name>PurgeRSLJob</Name>
        <Triggers>
          <TriggerExpression>0 0 0 * * ?</TriggerExpression>
        </Triggers>
        <JobDetails>
          <Description>Class name of the job to be executed when trigger is fired.</Description>
<JobDetailsClass>com.tibco.mdm.purge.SyncLogPurgeJob</JobDetailsClass>
        </JobDetails>
        <ExecuteOnStartup>true</ExecuteOnStartup>
        <JobInput>
          <UserName>test</UserName>
          <EnterpriseName>test</EnterpriseName>
          <JobPolicyParser>
            <Description>This class is responsible to extract the purge inputs.</Description>
<ParserClass>com.tibco.mdm.purge.RecordSyncLogPurgeJobPolicy</ParserClass>
          </JobPolicyParser>
        </JobInput>
      </Job>
    </Jobs>
  </Schedule>
</CronSchedules>