Thursday, 30 August 2012

Scheduling and Monitoring Scheduled Jobs - Apex


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.
  1. Click Apex Classes to go back to the Apex Classes page.
  2. Click Schedule Apex.
  3. For the job name, enter TestSchedulingApexFromTheUI.
  4. 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.
  5. Select Weekly or Monthly for the frequency and set the frequency desired.
  6. 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.
  7. Click Save.
  8. To go to the Schedule Jobs page, click Your Name | Setup | Monitoring | Scheduled Jobs. You’ll see that your job is now listed in the job queue.
  9. Click Manage next to the job’s name.
    The page displays more details about the job, including its execution schedule.

1 comment:

  1. Nice Information https://onlineitguru.com/salesforce-online-training-placement.html

    ReplyDelete