Schedulable classes

As a companion to batchable interface, the Salesforce platform provides a schedulable interface. Schedulable classes are considered as asynchronous Apex, because the platform merely adds the job to the queue at the scheduled time. It does not promise that the job will actually run at the scheduled time, but it does promises that it will be queued at that time. The actual processing may take place nearly instantaneously, or at some point in the relatively near future, depending on system resource availability. Using the schedulable interface allows you to queue code at specific times or periodic intervals. This can be implemented either through the web user interface, or through apex code. Like the batchable interface, to utilize ...

Get Mastering Application Development with Force.com now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.