global class SetCurrentDailyReportSumSchedule implements Schedulable { global void execute(SchedulableContext sc) { //MyBatchClass b = new MyBatchClass(); //database.executebatch(b); // 2021-03-08 mzy WLIG-BYHD79 SFDC环境batch合并调查 start //Id execBTId = Database.executeBatch(new SetCurrentDailyReportSumBatch(),20); Id execBTId = Database.executeBatch(new SetCurrentDailyReportSumBatch(true),20); // 2021-03-08 mzy WLIG-BYHD79 SFDC环境batch合并调查 end } }