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>purgehistory</Name>
    <Jobs>
      <Job>
        <Name>testRecordSyncLog</Name>
        <Triggers>
          <TriggerExpression>0 0 0 1 1 ?</TriggerExpression>
        </Triggers>
        <JobDetails>
          <Description>testRecordSyncLog description</Description>
<JobDetailsClass>com.tibco.mdm.purge.SyncLogPurgeJob</JobDetailsClass>
        </JobDetails>
        <ExecuteOnStartup>false</ExecuteOnStartup>
        <JobInput>
										<EnterpriseName>testEnterprise</EnterpriseName>
          <UserName>testMember</UserName>
										<JobPolicy>testJobPolicy.xml</JobPolicy>
          <JobPolicyParser>
            <Description>testJobPolicy Description</Description>
<ParserClass>com.tibco.mdm.purge.RecordSyncLogPurgeJobPolicy</ParserClass>
          </JobPolicyParser>
        </JobInput>
      </Job>
    </Jobs>
  </Schedule>
</CronSchedules>