Purge Completed Jobs

AEM runs a purge job everyday at 01:00 to delete completed asynchronous jobs that are more than a day old.

You can modify the schedule for the purge job and the duration for which details of completed jobs are retained before they are deleted. You can also configure the maximum number of completed jobs for which details are retained at any point of time.

  1. From the Global Navigation click Tools > Operations > Web Console.

  2. Open the Adobe Granite Async Jobs Purge Scheduled Job job.

  3. Specify:

    • The threshold number of days after which completed jobs are deleted.
    • The maximum number of jobs for which details are retained in history.
    • The cron expression for when the purge should run.

    Configuration to schedule the purging of asynchronous jobs

  4. Save the changes.

Configure Asynchronous Processing

You can configure the threshold number of assets, pages, or references for AEM to process a particular operation asynchronously and toggle email notifications for when the jobs are processed.

Configure Asynchronous Asset Delete Operations

If the number of assets or folders to be deleted exceeds the threshold number, the delete operation is performed asynchronously.

  1. From the Global Navigation click Tools > Operations > Web Console.

  2. From the web console, open the Async Process Default Queue Configuration.

  3. In the Threshold number of assets box, specify the threshold number of assets/folders for asynchronous processing of delete operations.

    Asset delete threshold

  4. Check the option Enable email notification to receive email notifications for this job status. for example, success, failed.

  5. Save the changes.