This sample project demonstrates how to use the PurgeLogEntries activity from the Automation module to clean up and maintain your project. To automate the process the project has been scheduled to run every 24 hours.
Activities:
The project contains only a single activity - the PurgeLogEntries activity from the Automation module.
Edit the activity and notice that it has a single property. Enter the value of the number of days to be used for purging logging records. That's all that is required.
This project has been scheduled to be run by the appRules Scheduler. The project details shows the scheduling configuration in the Schedule tab:
You can select one of the preconfigured run frequencies or configure a new one using the Cron syntax.