How to run Batch apex instantly? May 2, 2012June 9, 2022InfallibleTechie Admin To run or execute Batch Apex instantly, go to Developer Console. In the Apex Code section, use the following code: mergeNumbers M = new mergeNumbers();Database.executeBatch(M); where mergeNumbers is a Batch Apex Class.