Now that you’ve seen how to create and test a schedulable class, let’s take a look at how to schedule the class using the user interface. You’ll also learn how to view the list of scheduled jobs in your organization.
- Click Apex Classes to go back to the Apex Classes page.
- Click Schedule Apex.
- For the job name, enter TestSchedulingApexFromTheUI.
- Click the lookup button next to Apex class and enter * for the search term to get a list of all classes that can be scheduled. In the search results, click MySchedulableClass.
- Select Weekly or Monthly for the frequency and set the frequency desired.
- Select the start and end dates, and a preferred start time.The schedule of a scheduled Apex job is relative to the user’s time zone.
- Click Save.
- To go to the Schedule Jobs page, click You’ll see that your job is now listed in the job queue. .
- Click Manage next to the job’s name.The page displays more details about the job, including its execution schedule.
Nice Information https://onlineitguru.com/salesforce-online-training-placement.html
ReplyDelete