You need to sign in to do that
Don't have an account?
Muhammad Jawwad 16
Schedule apex test class
How do I test schedule apex? please help
global class MonthlyPipelineReportScheduled implements Schedulable { global void execute(SchedulableContext sc) { LoanofficerBatch lob = new LoanofficerBatch(); database.executebatch(lob); RealtorBatch rb = new RealtorBatch(); database.executebatch(rb); BuilderBatch bb = new BuilderBatch(); database.executebatch(bb); } }
Best Answer chosen by Muhammad Jawwad 16
Raj Vakati
Use this code and set some sort of the data for all the batchs