JobPolicy Examples
The following are the samples of job policy.
- The job policy for deleting history for all enterprise.
<JobPolicy> <PurgeJobPolicy> <Scope>ALL</Scope> <PurgeExecMode>history</PurgeExecMode> <VersionsToRetain>3</VersionsToRetain> <RetentionDays>365</RetentionDays> </PurgeJobPolicy> </JobPolicy>
- The job policy for deleting history for enterprise of the user specified in scheduler configuration.
<JobPolicy> <PurgeJobPolicy> <PurgeExecMode>history</PurgeExecMode> <VersionsToRetain>3</VersionsToRetain> <RetentionDays>365</RetentionDays> </PurgeJobPolicy> </JobPolicy>
The CronSchedules.xml contains the Purge Scheduler, and the Purge Scheduler contains the Purge job. For more details on Purge Scheduler, refer to Example of Purge Scheduler.
Copyright © Cloud Software Group, Inc. All rights reserved.