Steps to Schedule a Data Processing Batch
The Opt-Out analysis & Consent Compliance dashboards can be updated daily or monthly depending on the schedule of a ComplianceDashboardScheduler from Salesforce ‘ Schedule Apex’ in the setup of your org.
Please find the steps below to schedule a consent compliance & opt-out analysis:-
Go to Setup
Search for Apex Classes.
Click on Schedule Apex
Fill the required data and Click on Search Icon (You can give any name to Job Name)
Select ComplianceDashboardScheduler from the list
Select Frequency(Weekly / Monthly), Start Date and End Date.
Select Prefered Start Time (Time when you want to update the Dashboard)
Click on Save.
To check status of batch execution
Go to Setup
Search for Apex Jobs
Check for Status of Jobs. (Status indicates batch is executed or not)