How to run Batch apex instantly?

To run batch Apex, go to User Menu --> Developer Console.




In the Apex Code section,

mergeNumbers M = new mergeNumbers();
Database.executeBatch(M);

where mergeNumbers is a Batch Apex Class.

Cheers!!!

No comments:

Post a Comment