- March 29, 2018 at 4:52 pm #27028Ankit #951
How is schedule apex different from batch apex?
How is schedule apex different from batch apex?March 29, 2018 at 5:20 pm #27029Rajan #947
Schedule apex – you can call the apex classes on a specific time interval . This apex uses
Batch apex- there are three method used in batch classes.
This apex classes uses batchable interface.
Database.batchable like this.
Hope this help!March 30, 2018 at 5:41 am #27050Adarsh #958
To use batch Apex, write an Apex class that implements the Salesforce-provided interface Database.Batchable and then invoke the class programmatically.To monitor or stop the execution of the batch Apex job, from Setup, enter Apex Jobs in the Quick Find box, then select Apex Jobs.
Salesforce schedules the class for execution at the specified time. Actual execution may be delayed based on service availability.You can only have 100 scheduled Apex jobs at one time. You can evaluate your current count by viewing the Scheduled Jobs page in Salesforce and creating a custom view with a type filter equal to “Scheduled Apex”. You can also programmatically query the CronTrigger and CronJobDetail objects to get the count of Apex scheduled jobs.March 30, 2018 at 8:27 am #27061
Please Register to reply to this topic. /