Salesforce Tips: Schedule Apex Job
In this blog, we will explain on another method to execute the job at a specific time which is not achievable with a trigger.
With the assumption that an Apex Schedulable class has been created, the user can utilise the Schedule Apex feature to set up a time for the job execution. This feature is available via Force.com Home > App Setup > Develop > Apex Classes > Schedule Apex. From the interface:
- provide the job name
- select the schedulable class that has been created
- set the configuration according to user preference
Once the scheduled job has been added, the user can continue to monitor the job execution status via Force.com Home > Administration Setup > Monitoring > Scheduled Jobs.