Wednesday, May 14, 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

Thanks for your comment