Ajax (1) Apex Class (12) Apex Trigger (2) Community (2) Home Page (1) HTML (4) Integration (3) JS (7) KB (1) Label (1) Licenses (1) Listing (1) Log (1) OOPs (5) Sharing (1) Static Resource (1) Test Class (3) URI (1) Visualforce (10)

Wednesday, 14 May 2014

points batch apex

Points:
1.We can not schedule batch classes,we run the batchclass by creating its instance where we
 required to run the batch class by this syntax 
        BatchClassName objBatchClassName=new BatchClassName();
        database.Executebatch(objBatchClassName,200);

2.We can schedule schedule classes,we schedule the scheduled class by going to apex classes 
  and click to schedule apex

No comments:

Post a Comment