Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

How to Execute the Batch Apex Class for Every 30 minutes

Be First!
by March 8, 2013 APEX, SALESFORCE

How to Execute the Batch Apex Class for Every 30 minutes

We can achieve using System.schedule method.

Below is the Example – we need to execute this from the system log or anonymous apex section of the IDE:


batchApexMethod exeClass = new batchApexMethod();
String cronStr = '0 0,30 * * * *';
System.schedule('Process Accs Job', cronStr, exeClass);

for More info you can check using below link

Salesforce Scheduler

(1144)

Previous
Next

Leave a Reply