apex execute batch job code example Example: apex execute batch job Id batchJobId = Database.executeBatch(new RunThisBatch(), 200);