Purge expired data
You can use a plugin or schedule a recurring task to delete expired data or clean up expired PingFederate persistent access grants.
The plugins run continuously, polling at configurable intervals, and are the simpler option for most deployments. The recurring tasks let you schedule cleanup to run at specific times, such as during a nightly maintenance window.
The following table compares the plugin and recurring task approaches to help you choose the best option for your deployment:
| Implementation | Recurrence | Configuration | Use case |
|---|---|---|---|
Plugin |
Continuously, on a polling interval |
One |
Near-real-time cleanup with minimal data accumulation between runs |
Recurring task |
On a defined schedule (for example, nightly at 2:00 AM) |
Two |
Defined maintenance windows or off-peak scheduling |
Learn more about the data cleanup options in the following topics: