Use a component based on the atg.purge.PurgeService class to schedule asset purge operations. The PurgeService class implements the atg.service.scheduler.SingletonSchedulableService interface and invokes an asset purge function. You can use a component based on PurgeService with the scheduler services provided with The Oracle Commerce Platform. See information about using scheduler services in the Platform Programming Guide.
To schedule an asset purge function:
Configure a component based on the
atg.purge.PurgeServiceclass.Set its
purgeProducerproperty to the Nucleus path of the PurgeProducer component for the asset purge function. See Configuring Basic Purging Components.Set its
purgeConfigurationproperty to the Nucleus path of the PurgeConfiguration component for the asset purge function. See Configuring Basic Purging Components.
Configure additional properties as required by the Oracle Commerce Platform scheduler services. See information about scheduler services in the Platform Programming Guide.
The following example shows the asset purge component property values for a scheduling component based on atg.purge.PurgeService.
$class=atg.purge.PurgeService purgeProducer=/mycompany/purge/OrganizationPurgeProducer purgeConfiguration=/mycompany/purge/OrganizationPurgeConfiguration # Configure properties as required by scheduler services

