Customize the cleanup process to meet your specific needs by scheduling a new cleanup
job. Review the details of the default cleanup job and create a cleanup job as needed. When you
create a cleanup job, you can retain or delete the default cleanup job.
Required Editions
| Available in: Lightning Experience |
| Available in: Professional (API access required), Enterprise,
Performance, Unlimited, and Developer editions
|
| User Permissions Needed |
| To schedule and run a new cleanup job: |
DevOps Testing Manager |
-
From Setup, in the Quick Find Box, enter Scheduled Jobs, and then
select Scheduled Jobs.
-
On the All Scheduled Jobs page, click Schedule Apex.
-
Enter a job name.
-
Click the lookup icon next to the Apex Class field. From the list, select
CleanupService.
-
Define a schedule to run the job.
-
Save your changes.
The new cleanup job runs automatically on the scheduled start date.
Monitor your cleanup job to prevent unwanted data loss and maintain system health. To review
cleanup jobs, from Setup, in the Quick Find box, enter Scheduled Jobs,
and then select Scheduled Jobs. Review the job details, such as its start
date and time and the next scheduled date and time.